diff options
author | sghctoma <sghctoma@gmail.com> | 2018-09-03 09:08:49 +0200 |
---|---|---|
committer | sghctoma <sghctoma@gmail.com> | 2018-09-03 09:08:49 +0200 |
commit | 073dcb3a8650ee45bb98701fccd6530d9dd1a3f4 (patch) | |
tree | 481cb9426254945dbca8c55a005117f46dba6e11 /sway | |
parent | df730a88919b078093dbc322926ada219a60d036 (diff) |
Change _XOPEN_SOURCE defines to _POSIX_C_SOURCE
Diffstat (limited to 'sway')
-rw-r--r-- | sway/commands.c | 2 | ||||
-rw-r--r-- | sway/commands/bar.c | 2 | ||||
-rw-r--r-- | sway/commands/output/background.c | 2 | ||||
-rw-r--r-- | sway/tree/workspace.c | 2 |
4 files changed, 4 insertions, 4 deletions
diff --git a/sway/commands.c b/sway/commands.c index 9e0fda55..e72b8916 100644 --- 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 index 9d62dc83..f760888e 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 <string.h> #include <strings.h> #include <wlr/util/log.h> diff --git a/sway/commands/output/background.c b/sway/commands/output/background.c index 900a5e75..ddad679d 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 <libgen.h> #include <strings.h> #include <unistd.h> diff --git a/sway/tree/workspace.c b/sway/tree/workspace.c index e7c1e36b..1957d94f 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 <ctype.h> #include <limits.h> #include <stdbool.h> |