summaryrefslogtreecommitdiff
path: root/doio.c
diff options
context:
space:
mode:
authorJarkko Hietaniemi <jhi@iki.fi>1999-07-04 23:26:01 +0000
committerJarkko Hietaniemi <jhi@iki.fi>1999-07-04 23:26:01 +0000
commit86959918b69bd7566746d776574341f410f68755 (patch)
tree6780588fce4cf2ffb2d134d8468905a555bb63f9 /doio.c
parentf6b3007c38a92f48d086a19ea8682dd935b6d4ee (diff)
downloadperl-86959918b69bd7566746d776574341f410f68755.tar.gz
Miscellaneus AIX fixes + SOCKS support.
p4raw-id: //depot/cfgperl@3578
Diffstat (limited to 'doio.c')
-rw-r--r--doio.c7
1 files changed, 6 insertions, 1 deletions
diff --git a/doio.c b/doio.c
index e148fbbe28..7e1645e293 100644
--- a/doio.c
+++ b/doio.c
@@ -64,7 +64,12 @@
#if defined(HAS_SOCKET) && !defined(VMS) /* VMS handles sockets via vmsish.h */
# include <sys/socket.h>
-# include <netdb.h>
+# if (defined(SOCKS) || defined(USE_SOCKS)) && defined(I_SOCKS)
+# include <socks.h>
+# endif
+# ifdef I_NETBSD
+# include <netdb.h>
+# endif
# ifndef ENOTSOCK
# ifdef I_NET_ERRNO
# include <net/errno.h>