summaryrefslogtreecommitdiffstats
path: root/libc/dns/net/getservent.c
diff options
context:
space:
mode:
Diffstat (limited to 'libc/dns/net/getservent.c')
-rw-r--r--libc/dns/net/getservent.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/libc/dns/net/getservent.c b/libc/dns/net/getservent.c
index 9f6ec32..0a727c7 100644
--- a/libc/dns/net/getservent.c
+++ b/libc/dns/net/getservent.c
@@ -28,6 +28,7 @@
#include <sys/cdefs.h>
#include <sys/types.h>
#include <endian.h>
+#include <malloc.h>
#include <netdb.h>
#include "servent.h"
#include "services.h"