aboutsummaryrefslogtreecommitdiffstats
path: root/misc.h
diff options
context:
space:
mode:
Diffstat (limited to 'misc.h')
-rw-r--r--misc.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/misc.h b/misc.h
index 92a66bc..98c6455 100644
--- a/misc.h
+++ b/misc.h
@@ -1,6 +1,7 @@
/*
* misc useful #defines ...
*/
+#include <stddef.h>
#define container_of(ptr, type, member) ({ \
const typeof( ((type *)0)->member ) *__mptr = (ptr); \