aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authordec05eba <dec05eba@protonmail.com>2023-10-22 19:51:50 +0200
committerdec05eba <dec05eba@protonmail.com>2023-10-27 11:59:37 +0200
commit2a890a4b4dee0e0791f600d790bde9c0411225bc (patch)
tree9fc8c84993a2d18513bf19225f47b8f44ac233ab
parente0b2f0c9c5129184eacf32864183058e82567bd5 (diff)
Dont include unused drm_fourcc.h, include missing unistd.h for _exit
-rw-r--r--kms/server/kms_server.c1
-rw-r--r--src/main.cpp1
2 files changed, 1 insertions, 1 deletions
diff --git a/kms/server/kms_server.c b/kms/server/kms_server.c
index 90921cf..38a058c 100644
--- a/kms/server/kms_server.c
+++ b/kms/server/kms_server.c
@@ -14,7 +14,6 @@
#include <xf86drm.h>
#include <xf86drmMode.h>
#include <drm_mode.h>
-#include <drm_fourcc.h>
#define MAX_CONNECTORS 32
diff --git a/src/main.cpp b/src/main.cpp
index eb5f8c2..fe9a8c7 100644
--- a/src/main.cpp
+++ b/src/main.cpp
@@ -19,6 +19,7 @@ extern "C" {
#include <map>
#include <signal.h>
#include <sys/stat.h>
+#include <unistd.h>
#include "../include/sound.hpp"