summaryrefslogtreecommitdiff
path: root/ext/Socket
diff options
context:
space:
mode:
authorJarkko Hietaniemi <jhi@iki.fi>2003-08-27 13:01:26 +0000
committerJarkko Hietaniemi <jhi@iki.fi>2003-08-27 13:01:26 +0000
commit5518ecd4c71d9e274b4e6a0c6a7d04bade4a7cd9 (patch)
tree7f8e4148950561612212359e19dce88e5b4a7e76 /ext/Socket
parentd6f9c1819f8d900fa247c93667024fea72fc153f (diff)
downloadperl-5518ecd4c71d9e274b4e6a0c6a7d04bade4a7cd9.tar.gz
Ultrix tweaks: <string.h> must not be included twice
(otherwise one gets prototype conflicts between the <string.h> and proto.h because Ultrix thinks e.g. Perl_ninstr has been define in <string.h>...); and Configure misprobes some features. p4raw-id: //depot/perl@20916
Diffstat (limited to 'ext/Socket')
-rw-r--r--ext/Socket/Socket.xs2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/Socket/Socket.xs b/ext/Socket/Socket.xs
index 139e9cb903..040dda4008 100644
--- a/ext/Socket/Socket.xs
+++ b/ext/Socket/Socket.xs
@@ -30,7 +30,7 @@
# if defined(__sgi) && !defined(AF_LINK) && defined(PF_LINK) && PF_LINK == AF_LNK
# undef PF_LINK
# endif
-# ifdef I_NETINET_IN
+# if defined(I_NETINET_IN) || defined(__ultrix__)
# include <netinet/in.h>
# endif
# ifdef I_NETDB