2
0
mirror of git://git.code.sf.net/p/openocd/code synced 2025-07-19 05:55:41 +10:00

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

View File

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