From: Andreas Schneider Date: Thu, 19 Oct 2017 15:27:23 +0000 (+0200) Subject: s4:smbd: Add missing unistd.h include to fix build of process_prefork X-Git-Tag: tevent-0.9.34~166 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=5bfe93b4eba48e290b25bd30175d7a36a6a421c5;p=thirdparty%2Fsamba.git 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 Reviewed-by: Jeremy Allison --- 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 + #include "lib/events/events.h" #include "lib/messaging/messaging.h" #include "lib/socket/socket.h"