summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/sys/dir.h2
-rw-r--r--include/sys/errno.h2
-rw-r--r--include/sys/fcntl.h2
-rw-r--r--include/sys/poll.h1
-rw-r--r--include/sys/signal.h2
-rw-r--r--include/sys/termios.h2
6 files changed, 11 insertions, 0 deletions
diff --git a/include/sys/dir.h b/include/sys/dir.h
new file mode 100644
index 00000000..9ba1c79e
--- /dev/null
+++ b/include/sys/dir.h
@@ -0,0 +1,2 @@
+#include <dirent.h>
+#define direct dirent
diff --git a/include/sys/errno.h b/include/sys/errno.h
new file mode 100644
index 00000000..35a3e5a2
--- /dev/null
+++ b/include/sys/errno.h
@@ -0,0 +1,2 @@
+#warning redirecting incorrect #include <sys/errno.h> to <errno.h>
+#include <errno.h>
diff --git a/include/sys/fcntl.h b/include/sys/fcntl.h
new file mode 100644
index 00000000..3dd928ef
--- /dev/null
+++ b/include/sys/fcntl.h
@@ -0,0 +1,2 @@
+#warning redirecting incorrect #include <sys/fcntl.h> to <fcntl.h>
+#include <fcntl.h>
diff --git a/include/sys/poll.h b/include/sys/poll.h
index 779ec774..99170401 100644
--- a/include/sys/poll.h
+++ b/include/sys/poll.h
@@ -1 +1,2 @@
+#warning redirecting incorrect #include <sys/poll.h> to <poll.h>
#include <poll.h>
diff --git a/include/sys/signal.h b/include/sys/signal.h
new file mode 100644
index 00000000..45bdcc64
--- /dev/null
+++ b/include/sys/signal.h
@@ -0,0 +1,2 @@
+#warning redirecting incorrect #include <sys/signal.h> to <signal.h>
+#include <signal.h>
diff --git a/include/sys/termios.h b/include/sys/termios.h
new file mode 100644
index 00000000..f5f751f0
--- /dev/null
+++ b/include/sys/termios.h
@@ -0,0 +1,2 @@
+#warning redirecting incorrect #include <sys/termios.h> to <termios.h>
+#include <termios.h>