Add a stddef.h #include to C file generated by DeriveConstants
authorIan Lynagh <ian@well-typed.com>
Sat, 17 Nov 2012 15:55:34 +0000 (15:55 +0000)
committerIan Lynagh <ian@well-typed.com>
Sat, 17 Nov 2012 15:55:34 +0000 (15:55 +0000)
utils/deriveConstants/DeriveConstants.hs

index ff47456..66c1f0e 100644 (file)
@@ -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>",
                      "",