aboutsummaryrefslogtreecommitdiff
path: root/xwayland/selection/selection.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/selection/selection.c
parentd7b010024a4e46acb1eb5c54c1ce31dd816fb995 (diff)
parenta8bc8c65ce63abbe15ceeaf0460b11265cdf5c29 (diff)
Merge pull request #1357 from emersion/xopen-source
Use _POSIX_C_SOURCE, use shm_open
Diffstat (limited to 'xwayland/selection/selection.c')
-rw-r--r--xwayland/selection/selection.c2
1 files changed, 1 insertions, 1 deletions
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>