]> git.ozlabs.org Git - ccan/blobdiff - ccan/tdb/tdb.h
Cleanup: rename is_* to starts_*, move functions together, factor out start finding...
[ccan] / ccan / tdb / tdb.h
index 628118172e807ed10762f631bae0b8168fe37f38..a2443ff4539232cdbfe3f143f56b7b2ae740967f 100644 (file)
 extern "C" {
 #endif
 
+#ifndef _SAMBA_BUILD_
+/* For mode_t */
+#include <sys/types.h>
+/* For O_* flags. */
+#include <sys/stat.h>
+/* For sig_atomic_t. */
+#include <signal.h>
+#endif
 
 /* flags to tdb_store() */
 #define TDB_REPLACE 1          /* Unused */