summaryrefslogtreecommitdiff
path: root/os/src/fio.c
diff options
context:
space:
mode:
Diffstat (limited to 'os/src/fio.c')
-rw-r--r--os/src/fio.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/os/src/fio.c b/os/src/fio.c
index 432f7e2..d579bf4 100644
--- a/os/src/fio.c
+++ b/os/src/fio.c
@@ -3,9 +3,11 @@
#include <FreeRTOS.h>
#include <semphr.h>
#include <unistd.h>
+#ifdef USE_NEWLIB
#include <sys/types.h>
#include <sys/stat.h>
#include <fcntl.h>
+#endif
#include "fio.h"
#include "filesystem.h"
#include "osdebug.h"