chiark / gitweb /
Source code reorganization:
[disorder] / lib / table.h
index 8cdfcfd985707602cfae7c7cc292dcebef9e5042..a301db70a1280af3faae84613b5574a7d9986e5b 100644 (file)
@@ -21,6 +21,8 @@
 #ifndef TABLE_H
 #define TABLE_H
 
 #ifndef TABLE_H
 #define TABLE_H
 
+#include <stddef.h>
+
 #define TABLE_FIND(TABLE, FIELD, NAME)                 \
   table_find((void *)TABLE,                            \
             offsetof(typeof((TABLE)[0]), FIELD),       \
 #define TABLE_FIND(TABLE, FIELD, NAME)                 \
   table_find((void *)TABLE,                            \
             offsetof(typeof((TABLE)[0]), FIELD),       \