diff options
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 |