mirror of
https://github.com/linux-msm/openocd.git
synced 2026-02-25 13:15:07 -08: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:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user