Add common c-utils, make flatdb aligned on disk
[tedtools.git] / tbtree.h
index 3971fda..28d8837 100644 (file)
--- a/tbtree.h
+++ b/tbtree.h
 
 
 #include <sys/types.h>
-
-/* C-utils */
-#ifndef offsetof
-#define offsetof(type, field)   ((int) &((type *)0)->field)
-#endif   /* offsetof */
+#include "tools.h" 
 
 #define HASHSIZE(LEN)  ( (LEN)<<1 )
 /* end utils */