aboutsummaryrefslogtreecommitdiff
path: root/swaymsg
diff options
context:
space:
mode:
Diffstat (limited to 'swaymsg')
-rw-r--r--swaymsg/main.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/swaymsg/main.c b/swaymsg/main.c
index 29e80f02..2c418127 100644
--- a/swaymsg/main.c
+++ b/swaymsg/main.c
@@ -1,6 +1,8 @@
+#define _XOPEN_SOURCE 500
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
+#include <strings.h>
#include <getopt.h>
#include <stdint.h>
#include <sys/un.h>