Browse Source

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>
gdb_7_4-branch
Mike Frysinger 15 years ago
parent
commit
66f8d9935e
  1. 4
      sim/common/ChangeLog
  2. 1
      sim/common/dv-cfi.c

4
sim/common/ChangeLog

@ -1,3 +1,7 @@
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.

1
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>

Loading…
Cancel
Save