aboutsummaryrefslogtreecommitdiffstats
path: root/sway/ipc-server.c
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/ipc-server.c
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/ipc-server.c')
-rw-r--r--sway/ipc-server.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/sway/ipc-server.c b/sway/ipc-server.c
index 9692a77f..7f353c0e 100644
--- a/sway/ipc-server.c
+++ b/sway/ipc-server.c
@@ -1,5 +1,4 @@
1// See https://i3wm.org/docs/ipc.html for protocol information 1// See https://i3wm.org/docs/ipc.html for protocol information
2#define _POSIX_C_SOURCE 200112L
3#include <linux/input-event-codes.h> 2#include <linux/input-event-codes.h>
4#include <assert.h> 3#include <assert.h>
5#include <errno.h> 4#include <errno.h>