summaryrefslogtreecommitdiff
path: root/utils/deriveConstants
diff options
context:
space:
mode:
authorIan Lynagh <ian@well-typed.com>2012-11-17 15:55:34 +0000
committerIan Lynagh <ian@well-typed.com>2012-11-17 15:55:34 +0000
commitcf939b35733efb7898ae0e267b3ce5c73398c943 (patch)
treefe2af2c03cbed4b3f6970ef58de871c093cb6d02 /utils/deriveConstants
parentdfb8d40b3f737a824e92ec61e198bfcbc60b5361 (diff)
downloadhaskell-cf939b35733efb7898ae0e267b3ce5c73398c943.tar.gz
Add a stddef.h #include to C file generated by DeriveConstants
Diffstat (limited to 'utils/deriveConstants')
-rw-r--r--utils/deriveConstants/DeriveConstants.hs1
1 files changed, 1 insertions, 0 deletions
diff --git a/utils/deriveConstants/DeriveConstants.hs b/utils/deriveConstants/DeriveConstants.hs
index ff47456432..66c1f0e456 100644
--- a/utils/deriveConstants/DeriveConstants.hs
+++ b/utils/deriveConstants/DeriveConstants.hs
@@ -634,6 +634,7 @@ getWanted verbose tmpdir gccProgram gccFlags nmProgram
"#include \"Capability.h\"",
"",
"#include <inttypes.h>",
+ "#include <stddef.h>",
"#include <stdio.h>",
"#include <string.h>",
"",