Ultrix: the #19435 helped the IO extension, so this should
Jarkko Hietaniemi [Mon, 19 May 2003 04:33:31 +0000 (04:33 +0000)]
help the Socket extension (socket structs redefinitions).

p4raw-id: //depot/perl@19561

ext/Socket/Socket.xs

index c20f5de..d4d9393 100644 (file)
@@ -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