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/sockets.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'xwayland/sockets.c') 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 -- cgit v1.2.3