diff options
author | Drew DeVault <sir@cmpwn.com> | 2018-11-06 12:46:29 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-11-06 12:46:29 +0100 |
commit | 2bf482e90f04dd7e402b37cb1d6c4d7fa958887c (patch) | |
tree | 8ad9cb3f24eee5f76e06f250b9c5884e7238b5d2 /xwayland | |
parent | d7b010024a4e46acb1eb5c54c1ce31dd816fb995 (diff) | |
parent | a8bc8c65ce63abbe15ceeaf0460b11265cdf5c29 (diff) |
Merge pull request #1357 from emersion/xopen-source
Use _POSIX_C_SOURCE, use shm_open
Diffstat (limited to 'xwayland')
-rw-r--r-- | xwayland/selection/dnd.c | 1 | ||||
-rw-r--r-- | xwayland/selection/incoming.c | 2 | ||||
-rw-r--r-- | xwayland/selection/outgoing.c | 1 | ||||
-rw-r--r-- | xwayland/selection/selection.c | 2 | ||||
-rw-r--r-- | xwayland/sockets.c | 2 | ||||
-rw-r--r-- | xwayland/xwayland.c | 1 |
6 files changed, 3 insertions, 6 deletions
diff --git a/xwayland/selection/dnd.c b/xwayland/selection/dnd.c index 4c687172..534d056c 100644 --- a/xwayland/selection/dnd.c +++ b/xwayland/selection/dnd.c @@ -1,4 +1,3 @@ -#define _XOPEN_SOURCE 700 #include <assert.h> #include <fcntl.h> #include <stdlib.h> diff --git a/xwayland/selection/incoming.c b/xwayland/selection/incoming.c index 4e88bbe4..5b253b5d 100644 --- a/xwayland/selection/incoming.c +++ b/xwayland/selection/incoming.c @@ -1,4 +1,4 @@ -#define _XOPEN_SOURCE 700 +#define _POSIX_C_SOURCE 200809L #include <assert.h> #include <fcntl.h> #include <stdlib.h> diff --git a/xwayland/selection/outgoing.c b/xwayland/selection/outgoing.c index 156f0ad5..0c095d25 100644 --- a/xwayland/selection/outgoing.c +++ b/xwayland/selection/outgoing.c @@ -1,4 +1,3 @@ -#define _XOPEN_SOURCE 700 #include <assert.h> #include <fcntl.h> #include <stdlib.h> 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> 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 diff --git a/xwayland/xwayland.c b/xwayland/xwayland.c index d92d58fb..e6d3502c 100644 --- a/xwayland/xwayland.c +++ b/xwayland/xwayland.c @@ -1,4 +1,3 @@ -#define _XOPEN_SOURCE 700 #define _DEFAULT_SOURCE #ifdef __FreeBSD__ // for SOCK_CLOEXEC |