diff options
Diffstat (limited to 'ext')
-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> |