sim: dv-cfi: include stdbool.h
authorMike Frysinger <vapier@gentoo.org>
Mon, 10 Oct 2011 02:41:54 +0000 (02:41 +0000)
committerMike Frysinger <vapier@gentoo.org>
Mon, 10 Oct 2011 02:41:54 +0000 (02:41 +0000)
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>
sim/common/ChangeLog
sim/common/dv-cfi.c

index f88343b..f632572 100644 (file)
@@ -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>
index 42d868c..a1ecaf9 100644 (file)
@@ -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>