diff options
author | Jarkko Hietaniemi <jhi@iki.fi> | 1999-07-04 23:26:01 +0000 |
---|---|---|
committer | Jarkko Hietaniemi <jhi@iki.fi> | 1999-07-04 23:26:01 +0000 |
commit | 86959918b69bd7566746d776574341f410f68755 (patch) | |
tree | 6780588fce4cf2ffb2d134d8468905a555bb63f9 /ext/Socket | |
parent | f6b3007c38a92f48d086a19ea8682dd935b6d4ee (diff) | |
download | perl-86959918b69bd7566746d776574341f410f68755.tar.gz |
Miscellaneus AIX fixes + SOCKS support.
p4raw-id: //depot/cfgperl@3578
Diffstat (limited to 'ext/Socket')
-rw-r--r-- | ext/Socket/Socket.xs | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/ext/Socket/Socket.xs b/ext/Socket/Socket.xs index 336e6c451a..016a4616e1 100644 --- a/ext/Socket/Socket.xs +++ b/ext/Socket/Socket.xs @@ -7,6 +7,9 @@ # include <sys/types.h> # endif # include <sys/socket.h> +# if (defined(SOCKS) || defined(USE_SOCKS)) && defined(I_SOCKS) +# include <socks.h> +# endif # ifdef MPE # define PF_INET AF_INET # define PF_UNIX AF_UNIX @@ -18,7 +21,9 @@ # ifdef I_NETINET_IN # include <netinet/in.h> # endif -# include <netdb.h> +# ifdef I_NETDB +# include <netdb.h> +# endif # ifdef I_ARPA_INET # include <arpa/inet.h> # endif |