This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[RFA/sim 2/3] sim/erc32/sys.h: Include "config.h".


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]