git.samba.org
/
metze
/
samba
/
wip.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
42e7671
)
s4:smbd: Add missing unistd.h include to fix build of process_prefork
author
Andreas Schneider
<asn@samba.org>
Thu, 19 Oct 2017 15:27:23 +0000
(17:27 +0200)
committer
Jeremy Allison
<jra@samba.org>
Thu, 19 Oct 2017 21:41:11 +0000
(23:41 +0200)
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>
source4/smbd/process_prefork.c
patch
|
blob
|
history
diff --git
a/source4/smbd/process_prefork.c
b/source4/smbd/process_prefork.c
index f2033e96146e4e4072a9e4ebaeefec91c906f2ea..8e4d62470a7fcc148cf4a44fe201d6d237892b1c 100644
(file)
--- 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"