aboutsummaryrefslogtreecommitdiff
path: root/backend/drm/udev.c
diff options
context:
space:
mode:
Diffstat (limited to 'backend/drm/udev.c')
-rw-r--r--backend/drm/udev.c10
1 files changed, 6 insertions, 4 deletions
diff --git a/backend/drm/udev.c b/backend/drm/udev.c
index 1efa26c2..5f20a1be 100644
--- a/backend/drm/udev.c
+++ b/backend/drm/udev.c
@@ -1,3 +1,5 @@
+#define _POSIX_C_SOURCE 200809L
+
#include <libudev.h>
#include <stdbool.h>
#include <stdlib.h>
@@ -6,10 +8,10 @@
#include <xf86drm.h>
#include <xf86drmMode.h>
-#include "otd.h"
-#include "udev.h"
-#include "session.h"
-#include "drm.h"
+#include "backend/drm/otd.h"
+#include "backend/drm/udev.h"
+#include "backend/drm/session.h"
+#include "backend/drm/drm.h"
static bool device_is_kms(struct otd *otd, struct udev_device *dev)
{