aboutsummaryrefslogtreecommitdiff
path: root/sim/common/gentmap.c
diff options
context:
space:
mode:
Diffstat (limited to 'sim/common/gentmap.c')
-rw-r--r--sim/common/gentmap.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/sim/common/gentmap.c b/sim/common/gentmap.c
index a4d3713..7efc6d3 100644
--- a/sim/common/gentmap.c
+++ b/sim/common/gentmap.c
@@ -66,6 +66,7 @@ gen_targ_map_c ()
printf ("/* Target value mapping utilities needed by the simulator and gdb. */\n");
printf ("/* This file is machine generated by gentmap.c. */\n\n");
+ printf ("#include \"config.h\"\n");
printf ("#include <errno.h>\n");
printf ("#include <fcntl.h>\n");
printf ("#include \"ansidecl.h\"\n");