From: Øyvind Harboe Date: Sun, 31 Jan 2010 14:48:14 +0000 (+0100) Subject: build: fix problems with "struct stat" not being defined under eCos X-Git-Url: https://git.gag.com/?a=commitdiff_plain;h=02731cf78b3663739e3755295a4239f2658a3fdc;p=fw%2Fopenocd build: fix problems with "struct stat" not being defined under eCos Include according to http://www.opengroup.org/onlinepubs/000095399/functions/stat.html Signed-off-by: Øyvind Harboe --- diff --git a/src/target/arm_semihosting.c b/src/target/arm_semihosting.c index 8db60a582..c41c5a008 100644 --- a/src/target/arm_semihosting.c +++ b/src/target/arm_semihosting.c @@ -43,6 +43,7 @@ #include "arm_semihosting.h" #include #include +#include static int open_modeflags[12] = { O_RDONLY,