From 5bfe93b4eba48e290b25bd30175d7a36a6a421c5 Mon Sep 17 00:00:00 2001 From: Andreas Schneider Date: Thu, 19 Oct 2017 17:27:23 +0200 Subject: [PATCH] s4:smbd: Add missing unistd.h include to fix build of process_prefork MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit error: implicit declaration of function ‘getpgrp’; did you mean ‘getpt’? [-Werror=implicit-function-declaration] Signed-off-by: Andreas Schneider Reviewed-by: Jeremy Allison --- source4/smbd/process_prefork.c | 2 ++ 1 file changed, 2 insertions(+) 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"