also add a warning to the existing sys/poll.h. the warning is absent
from sys/dir.h because it is actually providing a slightly different
API to the program, and thus just replacing the #include directive is
not a valid fix to programs using this one.
--- /dev/null
+#include <dirent.h>
+#define direct dirent
--- /dev/null
+#warning redirecting incorrect #include <sys/errno.h> to <errno.h>
+#include <errno.h>
--- /dev/null
+#warning redirecting incorrect #include <sys/fcntl.h> to <fcntl.h>
+#include <fcntl.h>
+#warning redirecting incorrect #include <sys/poll.h> to <poll.h>
#include <poll.h>
--- /dev/null
+#warning redirecting incorrect #include <sys/signal.h> to <signal.h>
+#include <signal.h>
--- /dev/null
+#warning redirecting incorrect #include <sys/termios.h> to <termios.h>
+#include <termios.h>