From 66f8d9935ef451a7e9a6caec300190cc99b9a948 Mon Sep 17 00:00:00 2001 From: Mike Frysinger Date: Mon, 10 Oct 2011 02:41:54 +0000 Subject: [PATCH] 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 --- sim/common/ChangeLog | 4 ++++ sim/common/dv-cfi.c | 1 + 2 files changed, 5 insertions(+) diff --git a/sim/common/ChangeLog b/sim/common/ChangeLog index f88343bb6cb..f6325725f4a 100644 --- a/sim/common/ChangeLog +++ b/sim/common/ChangeLog @@ -1,3 +1,7 @@ +2011-10-09 Mike Frysinger + + * dv-cfi.c: Include stdbool.h. + 2011-10-09 Mike Frysinger * dv-cfi.c: Replace devices.h include with hw-base.h and hw-main.h. diff --git a/sim/common/dv-cfi.c b/sim/common/dv-cfi.c index 42d868c8f28..a1ecaf9d57b 100644 --- a/sim/common/dv-cfi.c +++ b/sim/common/dv-cfi.c @@ -27,6 +27,7 @@ #include #include #include +#include #include #ifdef HAVE_SYS_MMAN_H #include -- 2.30.2