diff options
author | Alan Coopersmith <alan.coopersmith@sun.com> | 2006-12-11 19:25:48 -0800 |
---|---|---|
committer | Alan Coopersmith <alan.coopersmith@sun.com> | 2006-12-11 19:25:48 -0800 |
commit | cfb36499790b764d87af7d6f4713f4fe8d3d88f7 (patch) | |
tree | 85cd795ad8b1e54ab61f5284fcbd9d0cb4314d01 /gethost.c | |
parent | 42815405686498bb464fa20621bbcde00096a42d (diff) | |
download | xorg-app-xauth-cfb36499790b764d87af7d6f4713f4fe8d3d88f7.tar.gz |
Replace platform #ifdefs with AC_CHECK_HEADERS([net/errno.h])
Diffstat (limited to 'gethost.c')
-rw-r--r-- | gethost.c | 8 |
1 files changed, 2 insertions, 6 deletions
@@ -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> |