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