aboutsummaryrefslogtreecommitdiff
path: root/sim/common/gentmap.c
diff options
context:
space:
mode:
authorNick Clifton <nickc@redhat.com>2012-05-19 16:46:16 +0000
committerNick Clifton <nickc@redhat.com>2012-05-19 16:46:16 +0000
commita6ff997ce8307ea4be649d4e8de0c07d21048a30 (patch)
tree64064d6f1b0e3ebff2d0f0bea09a8201f91370d7 /sim/common/gentmap.c
parentf06b801f6696ae159044d9aca903224f929a0e4f (diff)
downloadfsf-binutils-gdb-a6ff997ce8307ea4be649d4e8de0c07d21048a30.zip
fsf-binutils-gdb-a6ff997ce8307ea4be649d4e8de0c07d21048a30.tar.gz
fsf-binutils-gdb-a6ff997ce8307ea4be649d4e8de0c07d21048a30.tar.bz2
PR 14072
* wrapper.c: Include config.h before system header files. * callback.c: Include config.h before system header files. * cgen-trace.c: Likewise. * cgen-utils.c: Likewise. * gentmap.c: Likewise. * sim-if.c: Include config.h before system header files. * compile.c: Include config.h before system header files. * sim-main.h: Likewise. * gdb-if.c: Include config.h before system header files. * load.c: Likewise. * syscalls.c: Likewise. * trace.c: Likewise. * interp.c: Include config.h before system header files.
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");