From 048b8393f325e063e85ed7cab446d891c7ada52d Mon Sep 17 00:00:00 2001 From: Marcus Sundberg Date: Wed, 5 Jan 2000 01:14:30 +0000 Subject: [PATCH] Reportedly the #undef sa_family is really needed on SGIs. --- uquake/net_udp.c | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/uquake/net_udp.c b/uquake/net_udp.c index ced459c..5e54a7b 100644 --- a/uquake/net_udp.c +++ b/uquake/net_udp.c @@ -53,6 +53,11 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. #include #endif +#if defined(sgi) && defined(sa_family) +/* Get rid of problematic SGI #def */ +# undef sa_family +#endif + #ifndef MAXHOSTNAMELEN #define MAXHOSTNAMELEN 512 #endif