summaryrefslogtreecommitdiff
path: root/lib/ldb-samba
diff options
context:
space:
mode:
authorWilliam Brown <william@blackhats.net.au>2018-04-19 09:39:17 +1000
committerAlexander Bokovoy <ab@samba.org>2018-04-20 15:23:24 +0200
commitc67a2f85a7b9331feaef1489cbaaba11de4f9748 (patch)
tree52a72e083c969970bc6618e212cbc41e32c40559 /lib/ldb-samba
parent99859479fc6e12b2f74ce2dfa83da56d8b8f3d26 (diff)
downloadsamba-c67a2f85a7b9331feaef1489cbaaba11de4f9748.tar.gz
ldb_wrap.c missing header
ldb_wrap.c was missing unistd.h causing implicit symbol declaration and error during compilation. Signed-off-by: William Brown <william@blackhats.net.au> Reviewed-by: Alexander Bokovoy <ab@samba.org> Reviewed-by: Simo Sorce <idra@samba.org>
Diffstat (limited to 'lib/ldb-samba')
-rw-r--r--lib/ldb-samba/ldb_wrap.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/ldb-samba/ldb_wrap.c b/lib/ldb-samba/ldb_wrap.c
index 143e128d5d7..3d3eb8b0cef 100644
--- a/lib/ldb-samba/ldb_wrap.c
+++ b/lib/ldb-samba/ldb_wrap.c
@@ -37,6 +37,7 @@
#include "../lib/util/dlinklist.h"
#include "lib/util/util_paths.h"
#include <tdb.h>
+#include <unistd.h>
#undef DBGC_CLASS
#define DBGC_CLASS DBGC_LDB