aboutsummaryrefslogtreecommitdiff
path: root/sim/common
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2011-10-10 02:41:54 +0000
committerMike Frysinger <vapier@gentoo.org>2011-10-10 02:41:54 +0000
commit66f8d9935ef451a7e9a6caec300190cc99b9a948 (patch)
treed080e98e12dbd26207b770fc7221ff07cf153c83 /sim/common
parentd56a2aaeddd077f23cb8d19651a6cfd4f67e791b (diff)
downloadgdb-66f8d9935ef451a7e9a6caec300190cc99b9a948.zip
gdb-66f8d9935ef451a7e9a6caec300190cc99b9a948.tar.gz
gdb-66f8d9935ef451a7e9a6caec300190cc99b9a948.tar.bz2
sim: dv-cfi: include stdbool.h
The dv-cfi code uses the bool type but doesn't include the stdbool.h header. I didn't notice for Blackfin targets as the core Blackfin header will include stdbool.h, but most targets don't do this. Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Diffstat (limited to 'sim/common')
-rw-r--r--sim/common/ChangeLog4
-rw-r--r--sim/common/dv-cfi.c1
2 files changed, 5 insertions, 0 deletions
diff --git a/sim/common/ChangeLog b/sim/common/ChangeLog
index f88343b..f632572 100644
--- a/sim/common/ChangeLog
+++ b/sim/common/ChangeLog
@@ -1,5 +1,9 @@
2011-10-09 Mike Frysinger <vapier@gentoo.org>
+ * dv-cfi.c: Include stdbool.h.
+
+2011-10-09 Mike Frysinger <vapier@gentoo.org>
+
* dv-cfi.c: Replace devices.h include with hw-base.h and hw-main.h.
2011-10-04 Mike Frysinger <vapier@gentoo.org>
diff --git a/sim/common/dv-cfi.c b/sim/common/dv-cfi.c
index 42d868c..a1ecaf9 100644
--- a/sim/common/dv-cfi.c
+++ b/sim/common/dv-cfi.c
@@ -27,6 +27,7 @@
#include <math.h>
#include <errno.h>
#include <fcntl.h>
+#include <stdbool.h>
#include <unistd.h>
#ifdef HAVE_SYS_MMAN_H
#include <sys/mman.h>