X-Git-Url: https://arthur.barton.de/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=libatalk%2Ftdb%2Ftdb_private.h;h=de5dd02b141f3ca5cae4115938f8195aaeea4fc1;hb=6821c9c1b67181b020f375bab7ac8061b0dcbec2;hp=41389c41c97a349acf69d8f1239751295546a518;hpb=cf3e505e21e9c7ffba3a048ced9b772be8301e98;p=netatalk.git
diff --git a/libatalk/tdb/tdb_private.h b/libatalk/tdb/tdb_private.h
index 41389c41..de5dd02b 100644
--- a/libatalk/tdb/tdb_private.h
+++ b/libatalk/tdb/tdb_private.h
@@ -23,15 +23,9 @@
License along with this library; if not, see .
*/
-#if 0
-#include "replace.h"
-#include "system/filesys.h"
-#include "system/time.h"
-#include "system/shmem.h"
-#include "system/select.h"
-#include "system/wait.h"
-#include "tdb.h"
-#endif
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif /* HAVE_CONFIG_H */
#include
#include
@@ -50,6 +44,7 @@
#include
#include
#include
+#include
#ifndef __STRING
#define __STRING(x) #x
@@ -78,10 +73,6 @@
typedef uint32_t tdb_len_t;
typedef uint32_t tdb_off_t;
-#ifndef offsetof
-#define offsetof(t,f) ((unsigned int)&((t *)0)->f)
-#endif
-
#define TDB_MAGIC_FOOD "TDB file\n"
#define TDB_VERSION (0x26011967 + 6)
#define TDB_MAGIC (0x26011999U)