summaryrefslogtreecommitdiff
path: root/src/include
diff options
context:
space:
mode:
authorMarc G. Fournier <scrappy@hub.org>1998-02-14 19:56:21 +0000
committerMarc G. Fournier <scrappy@hub.org>1998-02-14 19:56:21 +0000
commit527f8babc726340e6ccf0ca0f26cd190e17f4ad9 (patch)
treecac2cd13c7454f15a3a0732c59141c9a6af03886 /src/include
parentd1891c6fb33e6cd1f6d0de945df3b70432a184a3 (diff)
From: Brian E Gallew <geek+@cmu.edu>
dgux 5.4R4.11 Missing port-protos.h (not needed, I think). Wants dld.h. Should really use the system dl stuff (like i386_solaris). Needs to include <netinet/in.h> before <arpa/inet.h>. Here are some patches...
Diffstat (limited to 'src/include')
-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 a40161eac83..5a3893feaab 100644
--- a/src/include/config.h.in
+++ b/src/include/config.h.in
@@ -17,6 +17,9 @@
/* Set to 1 if you have <fp_class.h> */
#undef HAVE_FP_CLASS_H
+/* Set to 1 if you have <netinet/in.h> */
+#undef HAVE_NETINET_IN_H
+
/* Set to 1 if you have <ieeefp.h> */
#undef HAVE_IEEEFP_H
@@ -96,6 +99,9 @@ int gethostname(char *name, int namelen);
#undef HAVE_INET_ATON
#ifndef HAVE_INET_ATON
# ifdef HAVE_ARPA_INET_H
+# ifdef HAVE_NETINET_IN_H
+# include <netinet/in.h>
+# endif
# include <arpa/inet.h>
# endif
extern int inet_aton(const char *cp, struct in_addr * addr);