summaryrefslogtreecommitdiffstats
path: root/src/include/stddef.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/include/stddef.h')
-rw-r--r--src/include/stddef.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/include/stddef.h b/src/include/stddef.h
index 10c28e361..49cef0832 100644
--- a/src/include/stddef.h
+++ b/src/include/stddef.h
@@ -9,4 +9,6 @@
#endif
#endif
+#define offsetof(type, member) __builtin_offsetof(type, member)
+
#endif
OpenPOWER on IntegriCloud