aboutsummaryrefslogtreecommitdiff
path: root/xwayland/selection
diff options
context:
space:
mode:
Diffstat (limited to 'xwayland/selection')
-rw-r--r--xwayland/selection/dnd.c1
-rw-r--r--xwayland/selection/incoming.c2
-rw-r--r--xwayland/selection/outgoing.c1
-rw-r--r--xwayland/selection/selection.c2
4 files changed, 2 insertions, 4 deletions
diff --git a/xwayland/selection/dnd.c b/xwayland/selection/dnd.c
index 4c687172..534d056c 100644
--- a/xwayland/selection/dnd.c
+++ b/xwayland/selection/dnd.c
@@ -1,4 +1,3 @@
-#define _XOPEN_SOURCE 700
#include <assert.h>
#include <fcntl.h>
#include <stdlib.h>
diff --git a/xwayland/selection/incoming.c b/xwayland/selection/incoming.c
index 4e88bbe4..5b253b5d 100644
--- a/xwayland/selection/incoming.c
+++ b/xwayland/selection/incoming.c
@@ -1,4 +1,4 @@
-#define _XOPEN_SOURCE 700
+#define _POSIX_C_SOURCE 200809L
#include <assert.h>
#include <fcntl.h>
#include <stdlib.h>
diff --git a/xwayland/selection/outgoing.c b/xwayland/selection/outgoing.c
index 156f0ad5..0c095d25 100644
--- a/xwayland/selection/outgoing.c
+++ b/xwayland/selection/outgoing.c
@@ -1,4 +1,3 @@
-#define _XOPEN_SOURCE 700
#include <assert.h>
#include <fcntl.h>
#include <stdlib.h>
diff --git a/xwayland/selection/selection.c b/xwayland/selection/selection.c
index e16ad111..d9de5643 100644
--- a/xwayland/selection/selection.c
+++ b/xwayland/selection/selection.c
@@ -1,4 +1,4 @@
-#define _XOPEN_SOURCE 700
+#define _POSIX_C_SOURCE 200809L
#include <assert.h>
#include <fcntl.h>
#include <stdlib.h>