* inet_ntop.h, inet_pton.h: Use #if HAVE* instead of #ifdef HAVE*.
2006-07-28 Yoann Vandoorselaere <yoann.v@prelude-ids.com>
* inet_ntop.h, inet_pton.h: Need to include netinet/in.h before
arpa/inet.h.
+2006-07-28 Bruno Haible <bruno@clisp.org>
+
+ * inet_ntop.h, inet_pton.h: Use #if HAVE* instead of #ifdef HAVE*.
+
+2006-07-28 Yoann Vandoorselaere <yoann.v@prelude-ids.com>
+
+ * inet_ntop.h, inet_pton.h: Need to include netinet/in.h before
+ arpa/inet.h.
+
2006-07-28 Bruno Haible <bruno@clisp.org>
* mbchar.h (iswalnum, iswalpha, iswblank, iswcntrl, iswdigit, iswgraph,
#include <sys/types.h>
#include <sys/socket.h>
-#ifdef HAVE_ARPA_INET_H
+#if HAVE_NETINET_IN_H
+# include <netinet/in.h>
+#endif
+#if HAVE_ARPA_INET_H
# include <arpa/inet.h>
#endif
#include <sys/types.h>
#include <sys/socket.h>
-#ifdef HAVE_ARPA_INET_H
+#if HAVE_NETINET_IN_H
+# include <netinet/in.h>
+#endif
+#if HAVE_ARPA_INET_H
# include <arpa/inet.h>
#endif