summaryrefslogtreecommitdiff
path: root/source4/smbd
diff options
context:
space:
mode:
authorAndreas Schneider <asn@samba.org>2017-10-19 17:27:23 +0200
committerJeremy Allison <jra@samba.org>2017-10-19 23:41:11 +0200
commit5bfe93b4eba48e290b25bd30175d7a36a6a421c5 (patch)
treeaca16e179c4086f9663e966f11d8c886af2d7632 /source4/smbd
parent42e7671226fe410ef06edb3a35906bc451e2fa44 (diff)
downloadsamba-5bfe93b4eba48e290b25bd30175d7a36a6a421c5.tar.gz
s4:smbd: Add missing unistd.h include to fix build of process_prefork
error: implicit declaration of function ‘getpgrp’; did you mean ‘getpt’? [-Werror=implicit-function-declaration] Signed-off-by: Andreas Schneider <asn@samba.org> Reviewed-by: Jeremy Allison <jra@samba.org>
Diffstat (limited to 'source4/smbd')
-rw-r--r--source4/smbd/process_prefork.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/source4/smbd/process_prefork.c b/source4/smbd/process_prefork.c
index f2033e96146..8e4d62470a7 100644
--- a/source4/smbd/process_prefork.c
+++ b/source4/smbd/process_prefork.c
@@ -24,6 +24,8 @@
*/
#include "includes.h"
+#include <unistd.h>
+
#include "lib/events/events.h"
#include "lib/messaging/messaging.h"
#include "lib/socket/socket.h"