aboutsummaryrefslogtreecommitdiff
path: root/xwayland/sockets.c
diff options
context:
space:
mode:
authorDrew DeVault <sir@cmpwn.com>2018-11-06 12:46:29 +0100
committerGitHub <noreply@github.com>2018-11-06 12:46:29 +0100
commit2bf482e90f04dd7e402b37cb1d6c4d7fa958887c (patch)
tree8ad9cb3f24eee5f76e06f250b9c5884e7238b5d2 /xwayland/sockets.c
parentd7b010024a4e46acb1eb5c54c1ce31dd816fb995 (diff)
parenta8bc8c65ce63abbe15ceeaf0460b11265cdf5c29 (diff)
Merge pull request #1357 from emersion/xopen-source
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