From 02731cf78b3663739e3755295a4239f2658a3fdc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=98yvind=20Harboe?= Date: Sun, 31 Jan 2010 15:48:14 +0100 Subject: [PATCH] build: fix problems with "struct stat" not being defined under eCos MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Include according to http://www.opengroup.org/onlinepubs/000095399/functions/stat.html Signed-off-by: Øyvind Harboe --- src/target/arm_semihosting.c | 1 + 1 file changed, 1 insertion(+) 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,