summaryrefslogtreecommitdiff
path: root/include/lib/semihosting.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/lib/semihosting.h')
-rw-r--r--include/lib/semihosting.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/lib/semihosting.h b/include/lib/semihosting.h
index e688618a..9d0b39f7 100644
--- a/include/lib/semihosting.h
+++ b/include/lib/semihosting.h
@@ -31,6 +31,9 @@
#ifndef __SEMIHOSTING_H__
#define __SEMIHOSTING_H__
+#include <stdio.h> /* For ssize_t */
+
+
#define SEMIHOSTING_SYS_OPEN 0x01
#define SEMIHOSTING_SYS_CLOSE 0x02
#define SEMIHOSTING_SYS_WRITE0 0x04