summaryrefslogtreecommitdiff
path: root/src/libudev
diff options
context:
space:
mode:
Diffstat (limited to 'src/libudev')
-rw-r--r--src/libudev/libudev-monitor.c2
-rw-r--r--src/libudev/util.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/libudev/libudev-monitor.c b/src/libudev/libudev-monitor.c
index 0212792552..7833e75080 100644
--- a/src/libudev/libudev-monitor.c
+++ b/src/libudev/libudev-monitor.c
@@ -24,7 +24,7 @@
#include <errno.h>
#include <string.h>
#include <dirent.h>
-#include <sys/poll.h>
+#include <poll.h>
#include <sys/stat.h>
#include <sys/socket.h>
#include <sys/un.h>
diff --git a/src/libudev/util.c b/src/libudev/util.c
index ad16df83dd..d2adf042ce 100644
--- a/src/libudev/util.c
+++ b/src/libudev/util.c
@@ -40,7 +40,7 @@
#include <termios.h>
#include <stdarg.h>
#include <sys/inotify.h>
-#include <sys/poll.h>
+#include <poll.h>
#include <libgen.h>
#include <ctype.h>
#include <sys/prctl.h>