summaryrefslogtreecommitdiff
path: root/source3/lib
diff options
context:
space:
mode:
Diffstat (limited to 'source3/lib')
-rw-r--r--source3/lib/netmask.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/source3/lib/netmask.c b/source3/lib/netmask.c
index 138a4413f1..bc7412e63f 100644
--- a/source3/lib/netmask.c
+++ b/source3/lib/netmask.c
@@ -38,6 +38,7 @@
#ifdef HAVE_NETMASK_IFCONF
#include <stdio.h>
+#include <unistd.h>
#include <sys/types.h>
#include <sys/socket.h>
#include <netinet/in.h>