summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/common_drm.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/common_drm.c b/src/common_drm.c
index e2468eb..b5c7f0b 100644
--- a/src/common_drm.c
+++ b/src/common_drm.c
@@ -11,6 +11,7 @@
#include <errno.h>
#include <stdint.h>
#include <stdlib.h>
+#include <sys/stat.h>
#include <xf86drm.h>
#include <xf86drmMode.h>