aboutsummaryrefslogtreecommitdiff
path: root/sway/commands/input/xkb_numlock.c
diff options
context:
space:
mode:
Diffstat (limited to 'sway/commands/input/xkb_numlock.c')
-rw-r--r--sway/commands/input/xkb_numlock.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/sway/commands/input/xkb_numlock.c b/sway/commands/input/xkb_numlock.c
index d5b75672..87d3e60c 100644
--- a/sway/commands/input/xkb_numlock.c
+++ b/sway/commands/input/xkb_numlock.c
@@ -1,8 +1,6 @@
-#include <string.h>
-#include <strings.h>
+#define _POSIX_C_SOURCE 200809L
#include "sway/config.h"
#include "sway/commands.h"
-#include "sway/input/input-manager.h"
#include "util.h"
struct cmd_results *input_cmd_xkb_numlock(int argc, char **argv) {