summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlan Coopersmith <Alan.Coopersmith@sun.com>2005-10-03 17:36:09 +0000
committerAlan Coopersmith <Alan.Coopersmith@sun.com>2005-10-03 17:36:09 +0000
commit3d9c1086b712ea62717c34e83d31efa3988dfc08 (patch)
tree365f1a168d432b53f5c13ad99708482ca436206b
parent960be79d2f246edc3b0d2b571c5ed44edbc07276 (diff)
Bug #3891 <https://bugs.freedesktop.org/show_bug.cgi?id=3891> xdm build
failure: IN6_IS_ADDR_LOOPBACK undefined (David Schleef)
-rw-r--r--auth.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/auth.c b/auth.c
index 8caa1c3..7f20381 100644
--- a/auth.c
+++ b/auth.c
@@ -89,6 +89,10 @@ from The Open Group.
#include <net/if.h>
#endif /* __GNU__ */
+#if defined(TCPCONN) && !defined(WIN32)
+# include <netinet/in.h>
+#endif
+
/* Solaris provides an extended interface SIOCGLIFCONF. Other systems
* may have this as well, but the code has only been tested on Solaris
* so far, so we only enable it there. Other platforms may be added as