Include <sys/stat.h> according to http://www.opengroup.org/onlinepubs/000095399/functions/stat.html
Signed-off-by: Øyvind Harboe <oyvind.har...@zylin.com> --- src/target/arm_semihosting.c | 1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/src/target/arm_semihosting.c b/src/target/arm_semihosting.c index 8db60a5..c41c5a0 100644 --- a/src/target/arm_semihosting.c +++ b/src/target/arm_semihosting.c @@ -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, -- 1.6.3.3 _______________________________________________ Openocd-development mailing list Openocd-development@lists.berlios.de https://lists.berlios.de/mailman/listinfo/openocd-development