summaryrefslogtreecommitdiff
path: root/boot
diff options
context:
space:
mode:
Diffstat (limited to 'boot')
-rw-r--r--boot/ux.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/boot/ux.h b/boot/ux.h
index e9c87ed0..d3787c54 100644
--- a/boot/ux.h
+++ b/boot/ux.h
@@ -96,6 +96,12 @@ int sigsetmask (int mask);
int sigpause (int mask);
int sigvec (int sig, struct sigvec *vec, struct sigvec *ovec);
+#undef O_RDONLY
+#undef O_WRONLY
+#undef O_RDWR
+#define O_RDONLY 0
+#define O_WRONLY 1
+#define O_RDWR 2
#define host_exit(c) uxexit(c)