mirror of
https://github.com/samba-team/samba.git
synced 2025-03-05 20:58:40 +03:00
lib: Fix the build on FreeBSD
FreeBSD needs to explicitly #include <unistd.h> for geteuid() and close() Signed-off-by: Volker Lendecke <vl@samba.org> Reviewed-by: Andrew Bartlett <abartlet@samba.org> Autobuild-User(master): Volker Lendecke <vl@samba.org> Autobuild-Date(master): Fri Aug 31 18:42:31 CEST 2018 on sn-devel-144
This commit is contained in:
parent
83f0ac5c6d
commit
b7d77ce4b3
@ -22,6 +22,7 @@
|
||||
#include <fcntl.h>
|
||||
|
||||
#include "replace.h"
|
||||
#include "system/filesys.h"
|
||||
|
||||
#include "libcli/util/ntstatus.h"
|
||||
#include "torture/torture.h"
|
||||
|
Loading…
x
Reference in New Issue
Block a user