summaryrefslogtreecommitdiff
path: root/libc/inet/getservice.c
diff options
context:
space:
mode:
Diffstat (limited to 'libc/inet/getservice.c')
-rw-r--r--libc/inet/getservice.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/libc/inet/getservice.c b/libc/inet/getservice.c
index 98bbc7cc5..c8ee77559 100644
--- a/libc/inet/getservice.c
+++ b/libc/inet/getservice.c
@@ -63,6 +63,7 @@
#include <netinet/in.h>
#include <arpa/inet.h>
#include <errno.h>
+#include <unistd.h>
/* Experimentally off - libc_hidden_proto(strcmp) */
/* Experimentally off - libc_hidden_proto(strpbrk) */