aboutsummaryrefslogtreecommitdiff
path: root/sway/commands/floating_scroll.c
diff options
context:
space:
mode:
Diffstat (limited to 'sway/commands/floating_scroll.c')
-rw-r--r--sway/commands/floating_scroll.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/sway/commands/floating_scroll.c b/sway/commands/floating_scroll.c
index 5705cfee..8c50c5bd 100644
--- a/sway/commands/floating_scroll.c
+++ b/sway/commands/floating_scroll.c
@@ -1,4 +1,6 @@
+#define _XOPEN_SOURCE 500
#include <string.h>
+#include <strings.h>
#include "sway/commands.h"
#include "log.h"
#include "stringop.h"