aboutsummaryrefslogtreecommitdiffstats
path: root/sway/tree
diff options
context:
space:
mode:
authorLibravatar Simon Ser <contact@emersion.fr>2024-02-16 15:17:18 +0100
committerLibravatar Kirill Primak <vyivel@eclair.cafe>2024-02-23 17:43:19 +0300
commitfc640d5f6c82883c35e90a64f0098486e6091293 (patch)
tree654d9fb88fb1885088a6638169bff592b8bd0bc0 /sway/tree
parentinput/text_input: fix dangling listeners (diff)
downloadsway-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/tree')
-rw-r--r--sway/tree/arrange.c1
-rw-r--r--sway/tree/container.c1
-rw-r--r--sway/tree/node.c1
-rw-r--r--sway/tree/output.c1
-rw-r--r--sway/tree/root.c1
-rw-r--r--sway/tree/view.c1
-rw-r--r--sway/tree/workspace.c1
7 files changed, 0 insertions, 7 deletions
diff --git a/sway/tree/arrange.c b/sway/tree/arrange.c
index af925d05..d4003fe6 100644
--- a/sway/tree/arrange.c
+++ b/sway/tree/arrange.c
@@ -1,4 +1,3 @@
1#define _POSIX_C_SOURCE 200809L
2#include <ctype.h> 1#include <ctype.h>
3#include <stdbool.h> 2#include <stdbool.h>
4#include <stdlib.h> 3#include <stdlib.h>
diff --git a/sway/tree/container.c b/sway/tree/container.c
index 78448090..9224b4fb 100644
--- a/sway/tree/container.c
+++ b/sway/tree/container.c
@@ -1,4 +1,3 @@
1#define _POSIX_C_SOURCE 200809L
2#include <assert.h> 1#include <assert.h>
3#include <drm_fourcc.h> 2#include <drm_fourcc.h>
4#include <stdint.h> 3#include <stdint.h>
diff --git a/sway/tree/node.c b/sway/tree/node.c
index 213cf0a6..7aaf9762 100644
--- a/sway/tree/node.c
+++ b/sway/tree/node.c
@@ -1,4 +1,3 @@
1#define _POSIX_C_SOURCE 200809L
2#include "sway/output.h" 1#include "sway/output.h"
3#include "sway/server.h" 2#include "sway/server.h"
4#include "sway/tree/container.h" 3#include "sway/tree/container.h"
diff --git a/sway/tree/output.c b/sway/tree/output.c
index cd7bf0c2..2d11195e 100644
--- a/sway/tree/output.c
+++ b/sway/tree/output.c
@@ -1,4 +1,3 @@
1#define _POSIX_C_SOURCE 200809L
2#include <assert.h> 1#include <assert.h>
3#include <ctype.h> 2#include <ctype.h>
4#include <string.h> 3#include <string.h>
diff --git a/sway/tree/root.c b/sway/tree/root.c
index e9cea5e2..ae3c3cb2 100644
--- a/sway/tree/root.c
+++ b/sway/tree/root.c
@@ -1,4 +1,3 @@
1#define _POSIX_C_SOURCE 200809L
2#include <stdbool.h> 1#include <stdbool.h>
3#include <stdlib.h> 2#include <stdlib.h>
4#include <string.h> 3#include <string.h>
diff --git a/sway/tree/view.c b/sway/tree/view.c
index 4a0d8069..35b4b73f 100644
--- a/sway/tree/view.c
+++ b/sway/tree/view.c
@@ -1,4 +1,3 @@
1#define _POSIX_C_SOURCE 200809L
2#include <stdlib.h> 1#include <stdlib.h>
3#include <strings.h> 2#include <strings.h>
4#include <wayland-server-core.h> 3#include <wayland-server-core.h>
diff --git a/sway/tree/workspace.c b/sway/tree/workspace.c
index 40d33435..a68dc927 100644
--- a/sway/tree/workspace.c
+++ b/sway/tree/workspace.c
@@ -1,4 +1,3 @@
1#define _POSIX_C_SOURCE 200809
2#include <ctype.h> 1#include <ctype.h>
3#include <limits.h> 2#include <limits.h>
4#include <stdbool.h> 3#include <stdbool.h>