aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSimon Ser <contact@emersion.fr>2024-02-12 19:45:49 +0100
committerSimon Ser <contact@emersion.fr>2024-02-12 19:45:49 +0100
commit6ad9e89a3423f3bb94711c646335b8dbe32685b9 (patch)
treec837cdf11a8fff91ed7b78f515e9c6111fc4e77d
parent220df2aa0f8025ffe99287c3f5ea0e05436e3d08 (diff)
backend/drm: drop unnecessary _XOPEN_SOURCE
We only need base POSIX here.
-rw-r--r--backend/drm/drm.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/backend/drm/drm.c b/backend/drm/drm.c
index b4d8a069..fc514229 100644
--- a/backend/drm/drm.c
+++ b/backend/drm/drm.c
@@ -1,4 +1,4 @@
-#define _XOPEN_SOURCE 700
+#define _POSIX_C_SOURCE 200809L
#include <assert.h>
#include <drm_fourcc.h>
#include <drm_mode.h>