summaryrefslogtreecommitdiff
path: root/libc/inet/getnetbynm.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/getnetbynm.c
parent3beceefb6af09979b321359fa324be1d83b329a3 (diff)
Silence stupid warnings caused by bad kernel network includes
Diffstat (limited to 'libc/inet/getnetbynm.c')
-rw-r--r--libc/inet/getnetbynm.c2
1 files changed, 2 insertions, 0 deletions
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 <features.h>
#include <netdb.h>
#include <string.h>