summaryrefslogtreecommitdiff
path: root/os/src/semifs.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/semifs.c
parente2d292afdb43cd7d9391128563384e1edd53c52e (diff)
Getting rid of newlib, starting to implement a libc. Highly experimental, highly untested.
Diffstat (limited to 'os/src/semifs.c')
-rw-r--r--os/src/semifs.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/os/src/semifs.c b/os/src/semifs.c
index fc7d0b1..1d92dc2 100644
--- a/os/src/semifs.c
+++ b/os/src/semifs.c
@@ -22,7 +22,9 @@
#include <string.h>
#include <errno.h>
#include <stdint.h>
+#ifdef USE_NEWLIB
#include <fcntl.h>
+#endif
#include <angel.h>