diff options
author | Jarkko Hietaniemi <jhi@iki.fi> | 2003-03-29 21:18:32 +0000 |
---|---|---|
committer | Jarkko Hietaniemi <jhi@iki.fi> | 2003-03-29 21:18:32 +0000 |
commit | 3b8fd1d50fa2d1e7d187a495bdbd1c1584f6a531 (patch) | |
tree | 0096754830503bb76c320c7d76941b8cea0ff67f /ext/Socket | |
parent | 05671074223592cab8892e565a2b59d3f032bba8 (diff) | |
download | perl-3b8fd1d50fa2d1e7d187a495bdbd1c1584f6a531.tar.gz |
IRIX 5.3 can have PF_LINK defined to be AF_LINK but
not defined AF_LINK.
p4raw-id: //depot/perl@19082
Diffstat (limited to 'ext/Socket')
-rw-r--r-- | ext/Socket/Socket.xs | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/ext/Socket/Socket.xs b/ext/Socket/Socket.xs index d844775e4f..c20f5de405 100644 --- a/ext/Socket/Socket.xs +++ b/ext/Socket/Socket.xs @@ -25,6 +25,9 @@ # if defined(NeXT) || defined(__NeXT__) # include <netinet/in_systm.h> # endif +# if defined(__sgi) && !defined(AF_LINK) && defined(PF_LINK) && PF_LINK == AF_LNK +# undef PF_LINK +# endif # ifdef I_NETINET_IN # include <netinet/in.h> # endif |