aboutsummaryrefslogtreecommitdiff
path: root/sway/commands/input/xkb_layout.c
diff options
context:
space:
mode:
Diffstat (limited to 'sway/commands/input/xkb_layout.c')
-rw-r--r--sway/commands/input/xkb_layout.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sway/commands/input/xkb_layout.c b/sway/commands/input/xkb_layout.c
index 5fccd4a3..43166401 100644
--- a/sway/commands/input/xkb_layout.c
+++ b/sway/commands/input/xkb_layout.c
@@ -1,4 +1,4 @@
-#define _XOPEN_SOURCE 700
+#define _POSIX_C_SOURCE 200809L
#include "sway/config.h"
#include "sway/commands.h"
#include "sway/input/input-manager.h"