From 073dcb3a8650ee45bb98701fccd6530d9dd1a3f4 Mon Sep 17 00:00:00 2001 From: sghctoma Date: Mon, 3 Sep 2018 09:08:49 +0200 Subject: [PATCH] Change _XOPEN_SOURCE defines to _POSIX_C_SOURCE --- client/pool-buffer.c | 2 +- sway/commands.c | 2 +- sway/commands/bar.c | 2 +- sway/commands/output/background.c | 2 +- sway/tree/workspace.c | 2 +- swaybar/ipc.c | 2 +- 6 files changed, 6 insertions(+), 6 deletions(-) diff --git a/client/pool-buffer.c b/client/pool-buffer.c index 6555a3ae8..588bd06cf 100644 --- a/client/pool-buffer.c +++ b/client/pool-buffer.c @@ -1,4 +1,4 @@ -#define _XOPEN_SOURCE 600 +#define _POSIX_C_SOURCE 200809 #include #include #include diff --git a/sway/commands.c b/sway/commands.c index 9e0fda552..e72b89167 100644 --- a/sway/commands.c +++ b/sway/commands.c @@ -1,4 +1,4 @@ -#define _XOPEN_SOURCE 600 +#define _POSIX_C_SOURCE 200809 #include #include #include diff --git a/sway/commands/bar.c b/sway/commands/bar.c index 9d62dc837..f760888e4 100644 --- a/sway/commands/bar.c +++ b/sway/commands/bar.c @@ -1,4 +1,4 @@ -#define _XOPEN_SOURCE 600 +#define _POSIX_C_SOURCE 200809 #include #include #include diff --git a/sway/commands/output/background.c b/sway/commands/output/background.c index 900a5e753..ddad679df 100644 --- 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 #include #include diff --git a/sway/tree/workspace.c b/sway/tree/workspace.c index e7c1e36b8..1957d94fc 100644 --- a/sway/tree/workspace.c +++ b/sway/tree/workspace.c @@ -1,4 +1,4 @@ -#define _XOPEN_SOURCE 600 +#define _POSIX_C_SOURCE 200809 #include #include #include diff --git a/swaybar/ipc.c b/swaybar/ipc.c index 972869c6f..0e60c10c4 100644 --- a/swaybar/ipc.c +++ b/swaybar/ipc.c @@ -1,4 +1,4 @@ -#define _XOPEN_SOURCE 600 +#define _POSIX_C_SOURCE 200809 #include #include #include