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>
This commit is contained in:
Mike Frysinger 2011-10-10 02:41:54 +00:00
parent d56a2aaedd
commit 66f8d9935e
2 changed files with 5 additions and 0 deletions

View File

@ -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.

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