aboutsummaryrefslogtreecommitdiff
path: root/xwayland/sockets.c
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/sockets.c
parentd7b010024a4e46acb1eb5c54c1ce31dd816fb995 (diff)
Use _POSIX_C_SOURCE, use shm_open
Diffstat (limited to 'xwayland/sockets.c')
-rw-r--r--xwayland/sockets.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/xwayland/sockets.c b/xwayland/sockets.c
index 2b0b5ced..112a8bb0 100644
--- a/xwayland/sockets.c
+++ b/xwayland/sockets.c
@@ -1,4 +1,4 @@
-#define _XOPEN_SOURCE 700
+#define _POSIX_C_SOURCE 200809L
#ifdef __FreeBSD__
// for SOCK_CLOEXEC
#define __BSD_VISIBLE 1