Index: sim/common/gentmap.c |
diff --git a/sim/common/gentmap.c b/sim/common/gentmap.c |
index a4d37134c9897f76fb01484011f67dc088e4616e..7efc6d3b8634c2c5f64a051da6c5258f677cdc69 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"); |