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:
@@ -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,
|
||||||
|
|||||||
Reference in New Issue
Block a user