From 2d0c5ec78eb975981b1d194fa9d4bc80b894748d Mon Sep 17 00:00:00 2001 From: emersion Date: Mon, 5 Nov 2018 22:51:23 +0100 Subject: Use _POSIX_C_SOURCE, use shm_open --- xwayland/selection/dnd.c | 1 - xwayland/selection/incoming.c | 2 +- xwayland/selection/outgoing.c | 1 - xwayland/selection/selection.c | 2 +- 4 files changed, 2 insertions(+), 4 deletions(-) (limited to 'xwayland/selection') 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 #include #include 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 #include #include 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 #include #include 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 #include #include -- cgit v1.2.3