Define __STRICT_ANSI__ for Linux to eliminate spurious warnings. Checkin

for Chris Seawood <cls@seawood.org>.


git-svn-id: svn://10.0.0.236/trunk@47367 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
srinivas%netscape.com 1999-09-14 19:39:46 +00:00
parent effb7dd14d
commit bee2f880f2

View File

@ -41,7 +41,10 @@
#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(), ... */