diff options
| author | Mike Frysinger <vapier@gentoo.org> | 2011-10-10 02:41:54 +0000 |
|---|---|---|
| committer | Mike Frysinger <vapier@gentoo.org> | 2011-10-10 02:41:54 +0000 |
| commit | 66f8d9935ef451a7e9a6caec300190cc99b9a948 (patch) | |
| tree | d080e98e12dbd26207b770fc7221ff07cf153c83 /sim/common | |
| parent | d56a2aaeddd077f23cb8d19651a6cfd4f67e791b (diff) | |
| download | ppe42-binutils-66f8d9935ef451a7e9a6caec300190cc99b9a948.tar.gz ppe42-binutils-66f8d9935ef451a7e9a6caec300190cc99b9a948.zip | |
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/ChangeLog | 4 | ||||
| -rw-r--r-- | sim/common/dv-cfi.c | 1 |
2 files changed, 5 insertions, 0 deletions
diff --git a/sim/common/ChangeLog b/sim/common/ChangeLog index f88343bb6c..f6325725f4 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 42d868c8f2..a1ecaf9d57 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> |

