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-Tag: v0.4.0-rc2~28 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=02731cf78b3663739e3755295a4239f2658a3fdc;p=openocd 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 8db60a58..c41c5a00 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,