[commit: ghc] master: Add a stddef.h #include to C file generated by DeriveConstants (cf939b3)
Ian Lynagh <[email protected]>
| Newsgroups | gmane.comp.lang.haskell.cvs.ghc |
|---|---|
| Message-ID | <[email protected]> |
Repository : ssh://darcs.haskell.org//srv/darcs/ghc On branch : master http://hackage.haskell.org/trac/ghc/changeset/cf939b35733efb7898ae0e267b3ce5c73398c943 >--------------------------------------------------------------- commit cf939b35733efb7898ae0e267b3ce5c73398c943 Author: Ian Lynagh <[email protected]> Date: Sat Nov 17 15:55:34 2012 +0000 Add a stddef.h #include to C file generated by DeriveConstants >--------------------------------------------------------------- utils/deriveConstants/DeriveConstants.hs | 1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/utils/deriveConstants/DeriveConstants.hs b/utils/deriveConstants/DeriveConstants.hs index ff47456..66c1f0e 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>", "",