summaryrefslogtreecommitdiff
path: root/libc/inet/getnetbyad.c
diff options
context:
space:
mode:
authorEric Andersen <andersen@codepoet.org>2001-09-27 06:31:38 +0000
committerEric Andersen <andersen@codepoet.org>2001-09-27 06:31:38 +0000
commitecee0fee1e1a347f519b46b504d21a6c49288ead (patch)
tree88c2ae0455ee670307f3eab5affade45c7263a1d /libc/inet/getnetbyad.c
parent3beceefb6af09979b321359fa324be1d83b329a3 (diff)
Silence stupid warnings caused by bad kernel network includes
Diffstat (limited to 'libc/inet/getnetbyad.c')
-rw-r--r--libc/inet/getnetbyad.c2
1 files changed, 2 insertions, 0 deletions
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 <features.h>
#include <netdb.h>
extern int _net_stayopen;