Bugzilla Bug 322427: removed a very old workaround for a zero-size array in
authorwtchang%redhat.com
Mon, 09 Jan 2006 21:43:52 +0000
changeset 3540 77f911a5a3cb3ad8a46ae454fed4049218856d38
parent 3537 090a106495bc6523d2364d5380b78a75d26482a4
child 3542 3c265df58a5e9d6da13b21715b37e8772655bf87
push idunknown
push userunknown
push dateunknown
bugs322427
Bugzilla Bug 322427: removed a very old workaround for a zero-size array in <sys/socket.h> on Linux. r=kengert.
pr/include/prinet.h
--- a/pr/include/prinet.h
+++ b/pr/include/prinet.h
@@ -55,20 +55,16 @@
  *     This file is intended to be included by nspr20 public header
  *     files, such as prio.h.  One should not include this file directly.
  */
 
 #ifndef prinet_h__
 #define prinet_h__
 
 #if defined(XP_UNIX) || defined(XP_OS2) || defined(XP_BEOS)
-#ifdef LINUX
-#undef __STRICT_ANSI__
-#define __STRICT_ANSI__
-#endif
 #include <sys/types.h>
 #include <sys/socket.h>		/* AF_INET */
 #include <netinet/in.h>         /* INADDR_ANY, ..., ntohl(), ... */
 #ifdef XP_OS2
 #include <sys/ioctl.h>
 #endif
 #ifdef XP_UNIX
 #ifdef AIX