diff options
author | Erik Schnetter <schnetter@cct.lsu.edu> | 2008-05-12 13:32:08 -0500 |
---|---|---|
committer | Ian Hinder <ian.hinder@aei.mpg.de> | 2009-04-27 21:38:12 +0200 |
commit | 29745c0d13509352c8a32837079fa16c0fca1075 (patch) | |
tree | 1d3cb24e04ae3b9e1028acfc64ced3b99660f371 /Tools | |
parent | d3fdc7d16052db3d13d643088433ea181c1fc447 (diff) |
#include a few more header files into auto-generated C code.
Diffstat (limited to 'Tools')
-rw-r--r-- | Tools/CodeGen/Thorn.m | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/Tools/CodeGen/Thorn.m b/Tools/CodeGen/Thorn.m index ca43637..de153ec 100644 --- a/Tools/CodeGen/Thorn.m +++ b/Tools/CodeGen/Thorn.m @@ -473,8 +473,11 @@ CreateSetterSource[calcs_, debug_, useLoopControl_, opts___] := "#define KRANC_" <> ToUpperCase[CodeGen`SOURCELANGUAGE] <> "\n\n", If[CodeGen`SOURCELANGUAGE == "C", - IncludeSystemFile["math.h"], - "\n" + {IncludeSystemFile["assert.h"], + IncludeSystemFile["math.h"], + IncludeSystemFile["stdio.h"], + IncludeSystemFile["stdlib.h"]}, + {"\n"} ], Map[IncludeFile, Join[{"cctk.h", "cctk_Arguments.h", "cctk_Parameters.h", |