summaryrefslogtreecommitdiff
path: root/ext/Socket
diff options
context:
space:
mode:
authorJarkko Hietaniemi <jhi@iki.fi>2003-05-19 04:33:31 +0000
committerJarkko Hietaniemi <jhi@iki.fi>2003-05-19 04:33:31 +0000
commit43db68287b2d8f6cdf86051fd386695ba8658389 (patch)
treec3fc837e6ef8caccf40dac0248b9a3ee69af54b3 /ext/Socket
parent19a077f678840021ce79e076d77b5f912feb3f1f (diff)
downloadperl-43db68287b2d8f6cdf86051fd386695ba8658389.tar.gz
Ultrix: the #19435 helped the IO extension, so this should
help the Socket extension (socket structs redefinitions). p4raw-id: //depot/perl@19561
Diffstat (limited to 'ext/Socket')
-rw-r--r--ext/Socket/Socket.xs4
1 files changed, 3 insertions, 1 deletions
diff --git a/ext/Socket/Socket.xs b/ext/Socket/Socket.xs
index c20f5de405..d4d9393c8d 100644
--- a/ext/Socket/Socket.xs
+++ b/ext/Socket/Socket.xs
@@ -9,7 +9,9 @@
# ifdef I_SYS_TYPES
# include <sys/types.h>
# endif
-# include <sys/socket.h>
+# if !defined(ultrix)
+# include <sys/socket.h>
+# endif
# if defined(USE_SOCKS) && defined(I_SOCKS)
# include <socks.h>
# endif