summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrea Canciani <ranma42@gmail.com>2013-02-02 11:16:18 +0100
committerAndrea Canciani <ranma42@gmail.com>2013-02-02 11:17:20 +0100
commit83187a2520b66c23cef8c621d4d81e16e21fd8f8 (patch)
tree2535c7dd81e4ed3637d70a8dca3c850b08f0f41c
parentf90373314effbffd841a660d4799c8806dd123b8 (diff)
Fix build of simpleops-compilerHEADmaster
The offsetof() macro is defined in <stddef.h> . Including it fixes the build.
-rw-r--r--compiler/simpleops-compiler-utils.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/compiler/simpleops-compiler-utils.h b/compiler/simpleops-compiler-utils.h
index 187386d..8ff0be5 100644
--- a/compiler/simpleops-compiler-utils.h
+++ b/compiler/simpleops-compiler-utils.h
@@ -32,6 +32,8 @@
#error Private header used directly
#endif
+#include <stddef.h>
+
/**
* Computes the number of elements of an array
*/