From ecee0fee1e1a347f519b46b504d21a6c49288ead Mon Sep 17 00:00:00 2001 From: Eric Andersen Date: Thu, 27 Sep 2001 06:31:38 +0000 Subject: Silence stupid warnings caused by bad kernel network includes --- libc/inet/getnetbyad.c | 2 ++ libc/inet/getnetbynm.c | 2 ++ libc/inet/herror.c | 2 ++ libc/inet/rpc/rpc_commondata.c | 2 ++ 4 files changed, 8 insertions(+) (limited to 'libc') diff --git a/libc/inet/getnetbyad.c b/libc/inet/getnetbyad.c index 38fe03cc6..64ca24abd 100644 --- a/libc/inet/getnetbyad.c +++ b/libc/inet/getnetbyad.c @@ -15,6 +15,8 @@ * WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE. */ +#define __FORCE_GLIBC__ +#include #include extern int _net_stayopen; diff --git a/libc/inet/getnetbynm.c b/libc/inet/getnetbynm.c index 8d60964b0..a800fe845 100644 --- a/libc/inet/getnetbynm.c +++ b/libc/inet/getnetbynm.c @@ -15,6 +15,8 @@ * WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE. */ +#define __FORCE_GLIBC__ +#include #include #include diff --git a/libc/inet/herror.c b/libc/inet/herror.c index e24d93b3e..7ccf51e47 100644 --- a/libc/inet/herror.c +++ b/libc/inet/herror.c @@ -17,6 +17,8 @@ * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. */ +#define __FORCE_GLIBC__ +#include #include #include #include diff --git a/libc/inet/rpc/rpc_commondata.c b/libc/inet/rpc/rpc_commondata.c index 39648d284..28647031e 100644 --- a/libc/inet/rpc/rpc_commondata.c +++ b/libc/inet/rpc/rpc_commondata.c @@ -27,6 +27,8 @@ * 2550 Garcia Avenue * Mountain View, California 94043 */ +#define __FORCE_GLIBC__ +#include #include /* * This file should only contain common data (global data) that is exported -- cgit v1.2.3