build: fix problems with "struct stat" not being defined under eCos

Include <sys/stat.h> according to
http://www.opengroup.org/onlinepubs/000095399/functions/stat.html

Signed-off-by: Øyvind Harboe <oyvind.harboe@zylin.com>
This commit is contained in:
Øyvind Harboe 2010-01-31 15:48:14 +01:00
parent f68dff6690
commit 02731cf78b
1 changed files with 1 additions and 0 deletions

View File

@ -43,6 +43,7 @@
#include "arm_semihosting.h" #include "arm_semihosting.h"
#include <helper/binarybuffer.h> #include <helper/binarybuffer.h>
#include <helper/log.h> #include <helper/log.h>
#include <sys/stat.h>
static int open_modeflags[12] = { static int open_modeflags[12] = {
O_RDONLY, O_RDONLY,