summaryrefslogtreecommitdiff
path: root/libc/inet/resolv.c
diff options
context:
space:
mode:
Diffstat (limited to 'libc/inet/resolv.c')
-rw-r--r--libc/inet/resolv.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/libc/inet/resolv.c b/libc/inet/resolv.c
index 91442b3a9..900783fbf 100644
--- a/libc/inet/resolv.c
+++ b/libc/inet/resolv.c
@@ -34,6 +34,8 @@
*
*/
+#define __FORCE_GLIBC__
+#include <features.h>
#include <string.h>
#include <stdio.h>
#include <signal.h>
@@ -46,6 +48,7 @@
#include <unistd.h>
#include <cfgfile.h>
#include <resolv.h>
+#include <netdb.h>
#include <arpa/nameser.h>
#define MAX_RECURSE 5