]> arthur.barton.de Git - netatalk.git/blobdiff - include/atalk/tdb.h
Unarchiving certain ZIP archives fails, bug #569
[netatalk.git] / include / atalk / tdb.h
index c9e946a8855557a375fa755fe30b5e7b4e541e08..b13ee350a2fe1c79071f658dc3d57c57d4865980 100644 (file)
@@ -1,5 +1,8 @@
-#ifndef __TDB_H__
-#define __TDB_H__
+#ifndef USE_BUILTIN_TDB
+#  include <tdb.h>
+#else
+#  ifndef __TDB_H__
+#    define __TDB_H__
 
 /* 
    Unix SMB/CIFS implementation.
@@ -30,7 +33,8 @@
 extern "C" {
 #endif
 
-#include "signal.h"
+#include <sys/types.h>
+#include <signal.h>
 
 /* flags to tdb_store() */
 #define TDB_REPLACE 1          /* Unused */
@@ -173,4 +177,5 @@ extern TDB_DATA tdb_null;
 }
 #endif
 
-#endif /* tdb.h */
+#  endif /* tdb.h */
+#endif /* USE_BUILTIN_TDB */