aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--logind.c2
-rw-r--r--logind.h3
2 files changed, 2 insertions, 3 deletions
diff --git a/logind.c b/logind.c
index f1573a8..9d80255 100644
--- a/logind.c
+++ b/logind.c
@@ -10,6 +10,8 @@
#include <termios.h>
#include <sys/stat.h>
+#include <sys/types.h>
+#include <sys/sysmacros.h>
#include "config.h"
#ifdef HAVE_SYSTEMD
diff --git a/logind.h b/logind.h
index 0f44d4f..c7584f3 100644
--- a/logind.h
+++ b/logind.h
@@ -1,9 +1,6 @@
#include <stdbool.h>
#include <inttypes.h>
-#include <libudev.h>
-#include <libinput.h>
-
void logind_init(void);
void logind_fini(void);
int logind_open(const char *path);