diff options
author | Jarkko Hietaniemi <jhi@iki.fi> | 2003-05-19 19:02:23 +0000 |
---|---|---|
committer | Jarkko Hietaniemi <jhi@iki.fi> | 2003-05-19 19:02:23 +0000 |
commit | 87edd44619c51e5cef57cfe22210ce04d510fd47 (patch) | |
tree | 742a83c3dc185532de370bee994627ab7ca403f5 /ext/Socket/Socket.xs | |
parent | 5104f8e8cb6eb35269aac646fcd0a6bbd6b2f42e (diff) | |
download | perl-87edd44619c51e5cef57cfe22210ce04d510fd47.tar.gz |
More Ultrix double definition avoidance.
p4raw-id: //depot/perl@19569
Diffstat (limited to 'ext/Socket/Socket.xs')
-rw-r--r-- | ext/Socket/Socket.xs | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/ext/Socket/Socket.xs b/ext/Socket/Socket.xs index d4d9393c8d..2c1bf68784 100644 --- a/ext/Socket/Socket.xs +++ b/ext/Socket/Socket.xs @@ -9,7 +9,7 @@ # ifdef I_SYS_TYPES # include <sys/types.h> # endif -# if !defined(ultrix) +# if !defined(ultrix) /* Avoid double definition. */ # include <sys/socket.h> # endif # if defined(USE_SOCKS) && defined(I_SOCKS) @@ -34,7 +34,9 @@ # include <netinet/in.h> # endif # ifdef I_NETDB -# include <netdb.h> +# if !defined(ultrix) /* Avoid double definition. */ +# include <netdb.h> +# endif # endif # ifdef I_ARPA_INET # include <arpa/inet.h> |