summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/target/arm_semihosting.c1
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,