diff options
author | Simon Ser <contact@emersion.fr> | 2024-02-16 15:17:18 +0100 |
---|---|---|
committer | Kirill Primak <vyivel@eclair.cafe> | 2024-02-23 17:43:19 +0300 |
commit | fc640d5f6c82883c35e90a64f0098486e6091293 (patch) | |
tree | 654d9fb88fb1885088a6638169bff592b8bd0bc0 /swaynag | |
parent | input/text_input: fix dangling listeners (diff) | |
download | sway-fc640d5f6c82883c35e90a64f0098486e6091293.tar.gz sway-fc640d5f6c82883c35e90a64f0098486e6091293.tar.zst sway-fc640d5f6c82883c35e90a64f0098486e6091293.zip |
Define _POSIX_C_SOURCE globally
See discussion in https://gitlab.freedesktop.org/wlroots/wlroots/-/merge_requests/4555
Diffstat (limited to 'swaynag')
-rw-r--r-- | swaynag/config.c | 1 | ||||
-rw-r--r-- | swaynag/main.c | 1 | ||||
-rw-r--r-- | swaynag/swaynag.c | 1 | ||||
-rw-r--r-- | swaynag/types.c | 1 |
4 files changed, 0 insertions, 4 deletions
diff --git a/swaynag/config.c b/swaynag/config.c index cff3930f..efd71ce7 100644 --- a/swaynag/config.c +++ b/swaynag/config.c | |||
@@ -1,4 +1,3 @@ | |||
1 | #define _POSIX_C_SOURCE 200809L | ||
2 | #include <getopt.h> | 1 | #include <getopt.h> |
3 | #include <stdio.h> | 2 | #include <stdio.h> |
4 | #include <stdlib.h> | 3 | #include <stdlib.h> |
diff --git a/swaynag/main.c b/swaynag/main.c index 20390207..634bddbf 100644 --- a/swaynag/main.c +++ b/swaynag/main.c | |||
@@ -1,4 +1,3 @@ | |||
1 | #define _POSIX_C_SOURCE 200809L | ||
2 | #include <stdlib.h> | 1 | #include <stdlib.h> |
3 | #include <signal.h> | 2 | #include <signal.h> |
4 | #include "log.h" | 3 | #include "log.h" |
diff --git a/swaynag/swaynag.c b/swaynag/swaynag.c index 6ea739e3..50eea148 100644 --- a/swaynag/swaynag.c +++ b/swaynag/swaynag.c | |||
@@ -1,4 +1,3 @@ | |||
1 | #define _POSIX_C_SOURCE 200809L | ||
2 | #include <stdlib.h> | 1 | #include <stdlib.h> |
3 | #include <assert.h> | 2 | #include <assert.h> |
4 | #include <sys/stat.h> | 3 | #include <sys/stat.h> |
diff --git a/swaynag/types.c b/swaynag/types.c index 409cc668..821e5b21 100644 --- a/swaynag/types.c +++ b/swaynag/types.c | |||
@@ -1,4 +1,3 @@ | |||
1 | #define _POSIX_C_SOURCE 200809L | ||
2 | #include <getopt.h> | 1 | #include <getopt.h> |
3 | #include <stdbool.h> | 2 | #include <stdbool.h> |
4 | #include <stdlib.h> | 3 | #include <stdlib.h> |