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/desktop | |
parent | 07b059852673cd9e148c2adfc6bb4f8a0d0ff315 (diff) |
Define _POSIX_C_SOURCE globally
See discussion in https://gitlab.freedesktop.org/wlroots/wlroots/-/merge_requests/4555
Diffstat (limited to 'sway/desktop')
-rw-r--r-- | sway/desktop/launcher.c | 1 | ||||
-rw-r--r-- | sway/desktop/output.c | 1 | ||||
-rw-r--r-- | sway/desktop/transaction.c | 1 | ||||
-rw-r--r-- | sway/desktop/xdg_shell.c | 1 | ||||
-rw-r--r-- | sway/desktop/xwayland.c | 1 |
5 files changed, 0 insertions, 5 deletions
diff --git a/sway/desktop/launcher.c b/sway/desktop/launcher.c index 0c02b997..28043d19 100644 --- a/sway/desktop/launcher.c +++ b/sway/desktop/launcher.c @@ -1,4 +1,3 @@ -#define _POSIX_C_SOURCE 200809L #include <stdlib.h> #include <string.h> #include <wlr/types/wlr_xdg_activation_v1.h> diff --git a/sway/desktop/output.c b/sway/desktop/output.c index 81290ccb..600423bc 100644 --- a/sway/desktop/output.c +++ b/sway/desktop/output.c @@ -1,4 +1,3 @@ -#define _POSIX_C_SOURCE 200809L #include <assert.h> #include <stdlib.h> #include <strings.h> diff --git a/sway/desktop/transaction.c b/sway/desktop/transaction.c index fd1c3d3a..042141ab 100644 --- a/sway/desktop/transaction.c +++ b/sway/desktop/transaction.c @@ -1,4 +1,3 @@ -#define _POSIX_C_SOURCE 200809L #include <stdbool.h> #include <stdlib.h> #include <string.h> diff --git a/sway/desktop/xdg_shell.c b/sway/desktop/xdg_shell.c index f4a25cf4..27a73f8a 100644 --- a/sway/desktop/xdg_shell.c +++ b/sway/desktop/xdg_shell.c @@ -1,4 +1,3 @@ -#define _POSIX_C_SOURCE 199309L #include <float.h> #include <stdbool.h> #include <stdlib.h> diff --git a/sway/desktop/xwayland.c b/sway/desktop/xwayland.c index 9f3f4d5f..270cf08f 100644 --- a/sway/desktop/xwayland.c +++ b/sway/desktop/xwayland.c @@ -1,4 +1,3 @@ -#define _POSIX_C_SOURCE 199309L #include <float.h> #include <stdbool.h> #include <stdlib.h> |