summaryrefslogtreecommitdiff
path: root/os/src/fio.c
diff options
context:
space:
mode:
authorNicolas "Pixel" Noble <pixel@nobis-crew.org>2011-02-05 04:35:27 +0100
committerNicolas "Pixel" Noble <pixel@nobis-crew.org>2011-02-05 04:35:27 +0100
commit61ba39a23786a7ae9694705af1d146c00a319144 (patch)
treef9ad51bee751f7e878ac3e7ad4d45f993605c37d /os/src/fio.c
parente2d292afdb43cd7d9391128563384e1edd53c52e (diff)
Getting rid of newlib, starting to implement a libc. Highly experimental, highly untested.
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"