This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
[RFA/sim 2/3] sim/erc32/sys.h: Include "config.h".
- From: Joel Brobecker <brobecker at adacore dot com>
- To: gdb-patches at sourceware dot org
- Cc: Joel Brobecker <brobecker at adacore dot com>
- Date: Thu, 14 Jun 2012 11:11:57 -0700
- Subject: [RFA/sim 2/3] sim/erc32/sys.h: Include "config.h".
- References: <1339697518-11847-1-git-send-email-brobecker@adacore.com>
This file includes "gdb/callback.h", which includes "bfd.h", which
itself verifies that "config.h" was included earlier.
sim/erc32/ChangeLog:
* sys.h: Include "config.h".
Fixes the build failure for erc32-elf simulator. Tested on x86_64-linux
cross erc32.
OK to commit?
---
sim/erc32/sis.h | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/sim/erc32/sis.h b/sim/erc32/sis.h
index fcabf9d..606f450 100644
--- a/sim/erc32/sis.h
+++ b/sim/erc32/sis.h
@@ -20,6 +20,7 @@
*
*/
+#include "config.h"
#include "ansidecl.h"
#include "gdb/callback.h"
#include "gdb/remote-sim.h"
--
1.7.1