summaryrefslogtreecommitdiff
path: root/gethost.c
diff options
context:
space:
mode:
authorAlan Coopersmith <alan.coopersmith@sun.com>2006-12-11 19:25:48 -0800
committerAlan Coopersmith <alan.coopersmith@sun.com>2006-12-11 19:25:48 -0800
commitcfb36499790b764d87af7d6f4713f4fe8d3d88f7 (patch)
tree85cd795ad8b1e54ab61f5284fcbd9d0cb4314d01 /gethost.c
parent42815405686498bb464fa20621bbcde00096a42d (diff)
downloadxorg-app-xauth-cfb36499790b764d87af7d6f4713f4fe8d3d88f7.tar.gz
Replace platform #ifdefs with AC_CHECK_HEADERS([net/errno.h])
Diffstat (limited to 'gethost.c')
-rw-r--r--gethost.c8
1 files changed, 2 insertions, 6 deletions
diff --git a/gethost.c b/gethost.c
index d6f3c9c..2047326 100644
--- a/gethost.c
+++ b/gethost.c
@@ -61,13 +61,9 @@ in this Software without prior written authorization from The Open Group.
#include <netdb.h>
#include <netinet/in.h>
#include <arpa/inet.h>
-#ifdef SYSV
-#ifdef i386
-#if !defined(SCO325) && !defined(sun)
+#ifdef HAVE_NET_ERRNO_H
#include <net/errno.h>
-#endif /* !SCO325 && !sun */
-#endif /* i386 */
-#endif /* SYSV */
+#endif /* HAVE_NET_ERRNO_H */
#endif /* !STREAMSCONN */
#endif /* !WIN32 */
#include <errno.h>