ldb_wrap.c missing header
authorWilliam Brown <william@blackhats.net.au>
Wed, 18 Apr 2018 23:39:17 +0000 (09:39 +1000)
committerAlexander Bokovoy <ab@samba.org>
Fri, 20 Apr 2018 13:23:24 +0000 (15:23 +0200)
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>
lib/ldb-samba/ldb_wrap.c

index 143e128d5d771ed77f254e721ea26ca9c159d1e4..3d3eb8b0cefea09361abb7ce2a9f13d9d752700e 100644 (file)
@@ -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