diff options
| author | Andreas Schneider <asn@samba.org> | 2014-04-07 16:29:21 +0200 |
|---|---|---|
| committer | Stefan Metzmacher <metze@samba.org> | 2014-04-17 14:56:06 +0200 |
| commit | 1a46269599c3eb80be68b30b70fbef1fa4e0c5cc (patch) | |
| tree | 358febca3a7fa9a84935c0818b0c06374f49cc08 /lib | |
| parent | 68c450a42321c6c6ac69b6e9605a847d756b9427 (diff) | |
lib: Add missing include for unistd.h in unix_privs.
Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Stefan Metzmacher <metze@samba.org>
Diffstat (limited to 'lib')
| -rw-r--r-- | lib/util/unix_privs.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/lib/util/unix_privs.c b/lib/util/unix_privs.c index 3dd244dad1..3b00df5349 100644 --- a/lib/util/unix_privs.c +++ b/lib/util/unix_privs.c @@ -21,6 +21,11 @@ #include "includes.h" #include "system/passwd.h" + +#ifdef HAVE_UNISTD_H +#include <unistd.h> +#endif + #include "../lib/util/unix_privs.h" #include "../lib/util/setid.h" |
