aboutsummaryrefslogtreecommitdiff
path: root/xwayland/selection
diff options
context:
space:
mode:
authoremersion <contact@emersion.fr>2018-11-05 22:51:23 +0100
committeremersion <contact@emersion.fr>2018-11-06 08:29:23 +0100
commit2d0c5ec78eb975981b1d194fa9d4bc80b894748d (patch)
tree5a6490bd77c39e45c23729a826a29754c77b8d15 /xwayland/selection
parentd7b010024a4e46acb1eb5c54c1ce31dd816fb995 (diff)
Use _POSIX_C_SOURCE, use shm_open
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>