Repository : ssh://darcs.haskell.org//srv/darcs/ghc

On branch  : master

http://hackage.haskell.org/trac/ghc/changeset/cf939b35733efb7898ae0e267b3ce5c73398c943

>---------------------------------------------------------------

commit cf939b35733efb7898ae0e267b3ce5c73398c943
Author: Ian Lynagh <i...@well-typed.com>
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>",
                      "",



_______________________________________________
Cvs-ghc mailing list
Cvs-ghc@haskell.org
http://www.haskell.org/mailman/listinfo/cvs-ghc

Reply via email to