aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorDaki Carnhof <carnhofdaki@gmail.com>2019-10-09 12:31:11 +0200
committerDaki Carnhof <carnhofdaki@gmail.com>2019-10-09 13:30:36 +0200
commit4de0bde7bc546638cbbbb8bc4eb0d840d81cb953 (patch)
tree4dfee11bb08e7c8e002a187cd5c9efa30c76705d /src
parentc08bf2b574636023cd9d68cb43b3dada5b0cc737 (diff)
build: Fix #include sys/poll.h to just poll.h (without sys/)
http://pubs.opengroup.org/onlinepubs/009695399/functions/poll.html http://man7.org/linux/man-pages/man2/poll.2.html
Diffstat (limited to 'src')
-rw-r--r--src/compat/stdin.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/compat/stdin.cpp b/src/compat/stdin.cpp
index 4f2ba1e9c4..98d406cca8 100644
--- a/src/compat/stdin.cpp
+++ b/src/compat/stdin.cpp
@@ -14,7 +14,7 @@
#else
#include <termios.h> // for SetStdinEcho()
#include <unistd.h> // for SetStdinEcho(), isatty()
-#include <sys/poll.h> // for StdinReady()
+#include <poll.h> // for StdinReady()
#endif
#include <compat/stdin.h>