sway

i3-compatible Wayland compositor
git clone https://git.awy.one/sway
Log | Files | Refs | README | LICENSE

commit 073dcb3a8650ee45bb98701fccd6530d9dd1a3f4
parent df730a88919b078093dbc322926ada219a60d036
Author: sghctoma <sghctoma@gmail.com>
Date:   Mon,  3 Sep 2018 09:08:49 +0200

Change _XOPEN_SOURCE defines to _POSIX_C_SOURCE

Diffstat:
Mclient/pool-buffer.c | 2+-
Msway/commands.c | 2+-
Msway/commands/bar.c | 2+-
Msway/commands/output/background.c | 2+-
Msway/tree/workspace.c | 2+-
Mswaybar/ipc.c | 2+-
6 files changed, 6 insertions(+), 6 deletions(-)

diff --git a/client/pool-buffer.c b/client/pool-buffer.c @@ -1,4 +1,4 @@ -#define _XOPEN_SOURCE 600 +#define _POSIX_C_SOURCE 200809 #include <assert.h> #include <cairo/cairo.h> #include <fcntl.h> diff --git a/sway/commands.c b/sway/commands.c @@ -1,4 +1,4 @@ -#define _XOPEN_SOURCE 600 +#define _POSIX_C_SOURCE 200809 #include <ctype.h> #include <stdarg.h> #include <stdlib.h> diff --git a/sway/commands/bar.c b/sway/commands/bar.c @@ -1,4 +1,4 @@ -#define _XOPEN_SOURCE 600 +#define _POSIX_C_SOURCE 200809 #include <string.h> #include <strings.h> #include <wlr/util/log.h> diff --git a/sway/commands/output/background.c b/sway/commands/output/background.c @@ -1,4 +1,4 @@ -#define _XOPEN_SOURCE 600 +#define _POSIX_C_SOURCE 200809 #include <libgen.h> #include <strings.h> #include <unistd.h> diff --git a/sway/tree/workspace.c b/sway/tree/workspace.c @@ -1,4 +1,4 @@ -#define _XOPEN_SOURCE 600 +#define _POSIX_C_SOURCE 200809 #include <ctype.h> #include <limits.h> #include <stdbool.h> diff --git a/swaybar/ipc.c b/swaybar/ipc.c @@ -1,4 +1,4 @@ -#define _XOPEN_SOURCE 600 +#define _POSIX_C_SOURCE 200809 #include <limits.h> #include <string.h> #include <strings.h>