diff options
author | Øyvind Harboe <oyvind.harboe@zylin.com> | 2010-01-31 15:48:14 +0100 |
---|---|---|
committer | Øyvind Harboe <oyvind.harboe@zylin.com> | 2010-01-31 15:48:14 +0100 |
commit | 02731cf78b3663739e3755295a4239f2658a3fdc (patch) | |
tree | fcb12cc7efc91513772e784f705ffb7378b38efa /src/target | |
parent | f68dff66904321392c3137db7eb40e8633c2e507 (diff) | |
download | openocd+libswd-02731cf78b3663739e3755295a4239f2658a3fdc.tar.gz openocd+libswd-02731cf78b3663739e3755295a4239f2658a3fdc.tar.bz2 openocd+libswd-02731cf78b3663739e3755295a4239f2658a3fdc.tar.xz openocd+libswd-02731cf78b3663739e3755295a4239f2658a3fdc.zip |
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>
Diffstat (limited to 'src/target')
-rw-r--r-- | 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 8db60a58..c41c5a00 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, |