aboutsummaryrefslogtreecommitdiffstats
path: root/misc.h
diff options
context:
space:
mode:
authorStéphane Aulery <saulery@free.fr>2014-11-27 14:52:11 +0100
committerGerd Hoffmann <kraxel@redhat.com>2014-12-04 10:23:33 +0100
commit582a2070a7f792f044fd1ee07a8e0bcfbfa32ee4 (patch)
treed2b31de574dbb0de144831962eac6a7e1d1eceb1 /misc.h
parent91674805aedfb63984a0e1d02b4bb05546ab3db2 (diff)
downloadfbida-582a2070a7f792f044fd1ee07a8e0bcfbfa32ee4.tar.gz
Add missing stddef.h header
- misc.h use offsetof() - other use NUUL, size_t and wchar_t Signed-off-by: Stéphane Aulery <saulery@free.fr> Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
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); \