diff options
author | Nicolas "Pixel" Noble <pixel@nobis-crew.org> | 2011-02-05 04:35:27 +0100 |
---|---|---|
committer | Nicolas "Pixel" Noble <pixel@nobis-crew.org> | 2011-02-05 04:35:27 +0100 |
commit | 61ba39a23786a7ae9694705af1d146c00a319144 (patch) | |
tree | f9ad51bee751f7e878ac3e7ad4d45f993605c37d /os/src/fio.c | |
parent | e2d292afdb43cd7d9391128563384e1edd53c52e (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.c | 2 |
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" |