aboutsummaryrefslogtreecommitdiff
path: root/swaymsg
diff options
context:
space:
mode:
authorDrew DeVault <sir@cmpwn.com>2017-03-10 23:41:24 -0500
committerDrew DeVault <sir@cmpwn.com>2017-03-10 23:41:24 -0500
commit9aed9d93596cdc72e305338d82ccc0dcaf85c6e2 (patch)
treeb5a3db4994970b2d0033e717771b24a92503ddac /swaymsg
parent74d4f1bec9a70bc800ecd7b15c9c6c0d7a5ce918 (diff)
UnGNUify the codebase
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>