aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/Rpc.cpp2
-rw-r--r--tools/gsr-global-hotkeys/keyboard_event.c2
-rw-r--r--tools/gsr-global-hotkeys/keyboard_event.h2
3 files changed, 3 insertions, 3 deletions
diff --git a/src/Rpc.cpp b/src/Rpc.cpp
index 206b1cf..3eec98d 100644
--- a/src/Rpc.cpp
+++ b/src/Rpc.cpp
@@ -6,7 +6,7 @@
#include <string.h>
#include <errno.h>
#include <sys/stat.h>
-#include <sys/fcntl.h>
+#include <fcntl.h>
namespace gsr {
static void get_runtime_filepath(char *buffer, size_t buffer_size, const char *filename) {
diff --git a/tools/gsr-global-hotkeys/keyboard_event.c b/tools/gsr-global-hotkeys/keyboard_event.c
index 74332ba..554c1a2 100644
--- a/tools/gsr-global-hotkeys/keyboard_event.c
+++ b/tools/gsr-global-hotkeys/keyboard_event.c
@@ -11,7 +11,7 @@
#include <fcntl.h>
#include <unistd.h>
#include <dirent.h>
-#include <sys/poll.h>
+#include <poll.h>
/* LINUX */
#include <linux/input.h>
diff --git a/tools/gsr-global-hotkeys/keyboard_event.h b/tools/gsr-global-hotkeys/keyboard_event.h
index 9904237..79fac75 100644
--- a/tools/gsr-global-hotkeys/keyboard_event.h
+++ b/tools/gsr-global-hotkeys/keyboard_event.h
@@ -10,7 +10,7 @@
#include <stdint.h>
/* POSIX */
-#include <sys/poll.h>
+#include <poll.h>
/* LINUX */
#include <linux/input-event-codes.h>