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 /sway/config.c | |
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 'sway/config.c')
-rw-r--r-- | sway/config.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sway/config.c b/sway/config.c index e91c0c8b..568c8b53 100644 --- a/sway/config.c +++ b/sway/config.c | |||
@@ -1,3 +1,4 @@ | |||
1 | #undef _POSIX_C_SOURCE | ||
1 | #define _XOPEN_SOURCE 700 // for realpath | 2 | #define _XOPEN_SOURCE 700 // for realpath |
2 | #include <stdio.h> | 3 | #include <stdio.h> |
3 | #include <stdbool.h> | 4 | #include <stdbool.h> |