]> git.ipfire.org Git - thirdparty/squid.git/blobdiff - compat/inet_ntop.h
Docs: Copyright updates for 2018 (#114)
[thirdparty/squid.git] / compat / inet_ntop.h
index e9cbe4b6d1793ce942c4dab2a89951419a36671e..121aa7af9e503b955e5911c1f06697b83428de56 100644 (file)
@@ -1,12 +1,16 @@
-#ifndef SQUID_CONFIG_H
-#include "config.h"
-#endif
+/*
+ * Copyright (C) 1996-2018 The Squid Software Foundation and contributors
+ *
+ * Squid software is distributed under GPLv2+ license and includes
+ * contributions from numerous individuals and organizations.
+ * Please see the COPYING and CONTRIBUTORS files for details.
+ */
 
 #ifndef _INC_INET_NTOP_H
 #define _INC_INET_NTOP_H
 
 /* Use the system provided version where possible */
-#if !HAVE_INET_NTOP
+#if !HAVE_DECL_INET_NTOP
 
 /* char *
 * inet_ntop(af, src, dst, size)
 *      Paul Vixie, 1996.
 */
 SQUIDCEXTERN const char * xinet_ntop(int af, const void *src, char *dst, size_t size);
+#ifndef inet_ntop
 #define inet_ntop xinet_ntop
-
 #endif
+
+#endif /* HAVE_DECL_INET_NTOP */
 #endif /* _INC_INET_NTOP_H */
+