summaryrefslogtreecommitdiff
path: root/libc/inet/getnetbyad.c
diff options
context:
space:
mode:
Diffstat (limited to 'libc/inet/getnetbyad.c')
-rw-r--r--libc/inet/getnetbyad.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/libc/inet/getnetbyad.c b/libc/inet/getnetbyad.c
index 06b0c4bd6..c916a18cf 100644
--- a/libc/inet/getnetbyad.c
+++ b/libc/inet/getnetbyad.c
@@ -18,6 +18,7 @@
#define __FORCE_GLIBC
#include <features.h>
#include <netdb.h>
+#include <unistd.h>
libc_hidden_proto(setnetent)
libc_hidden_proto(getnetent)