aboutsummaryrefslogtreecommitdiff
path: root/xcursor
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 /xcursor
parentd7b010024a4e46acb1eb5c54c1ce31dd816fb995 (diff)
parenta8bc8c65ce63abbe15ceeaf0460b11265cdf5c29 (diff)
Merge pull request #1357 from emersion/xopen-source
Use _POSIX_C_SOURCE, use shm_open
Diffstat (limited to 'xcursor')
-rw-r--r--xcursor/wlr_xcursor.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/xcursor/wlr_xcursor.c b/xcursor/wlr_xcursor.c
index 2391a49a..d651497b 100644
--- a/xcursor/wlr_xcursor.c
+++ b/xcursor/wlr_xcursor.c
@@ -23,7 +23,7 @@
* SOFTWARE.
*/
-#define _XOPEN_SOURCE 500
+#define _POSIX_C_SOURCE 200809L
#include <stdint.h>
#include <stdio.h>
#include <stdlib.h>