aboutsummaryrefslogtreecommitdiff
path: root/src/include/config.h.in
diff options
context:
space:
mode:
Diffstat (limited to 'src/include/config.h.in')
-rw-r--r--src/include/config.h.in6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/include/config.h.in b/src/include/config.h.in
index 1e99ac39547..74f84894db7 100644
--- a/src/include/config.h.in
+++ b/src/include/config.h.in
@@ -14,6 +14,9 @@
* The following is set using configure.
*/
+/* Set to 1 if you have <arpa/inet.h> */
+#undef HAVE_ARPA_INET_H
+
/* Set to 1 if you have <netdb.h> */
#undef HAVE_NETDB_H
@@ -74,6 +77,9 @@ int gethostname(char *name, int namelen);
/* Set to 1 if you have inet_aton() */
#undef HAVE_INET_ATON
#ifndef HAVE_INET_ATON
+# ifdef HAVE_ARPA_INET_H
+# include <arpa/inet.h>
+# endif
extern int inet_aton(const char *cp, struct in_addr * addr);
#endif