summaryrefslogtreecommitdiff
path: root/libc
diff options
context:
space:
mode:
Diffstat (limited to 'libc')
-rw-r--r--libc/inet/getnetent.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/libc/inet/getnetent.c b/libc/inet/getnetent.c
index 8c22c0a00..181c5adfe 100644
--- a/libc/inet/getnetent.c
+++ b/libc/inet/getnetent.c
@@ -18,6 +18,7 @@
#define __FORCE_GLIBC
#include <features.h>
#include <stdio.h>
+#include <stdlib.h>
#include <netdb.h>
#include <arpa/inet.h>