From: Jarkko Hietaniemi Date: Sat, 29 Mar 2003 21:18:32 +0000 (+0000) Subject: IRIX 5.3 can have PF_LINK defined to be AF_LINK but X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=3b8fd1d50fa2d1e7d187a495bdbd1c1584f6a531;p=p5sagit%2Fp5-mst-13.2.git IRIX 5.3 can have PF_LINK defined to be AF_LINK but not defined AF_LINK. p4raw-id: //depot/perl@19082 --- diff --git a/ext/Socket/Socket.xs b/ext/Socket/Socket.xs index d844775..c20f5de 100644 --- a/ext/Socket/Socket.xs +++ b/ext/Socket/Socket.xs @@ -25,6 +25,9 @@ # if defined(NeXT) || defined(__NeXT__) # include # endif +# if defined(__sgi) && !defined(AF_LINK) && defined(PF_LINK) && PF_LINK == AF_LNK +# undef PF_LINK +# endif # ifdef I_NETINET_IN # include # endif