aboutsummaryrefslogtreecommitdiff
path: root/swaygrab/json.c
diff options
context:
space:
mode:
authorZandr Martin <zandrmartin@gmail.com>2017-03-13 07:35:12 -0400
committerZandr Martin <zandrmartin@gmail.com>2017-03-13 07:35:12 -0400
commitb507462d1c66e11cce76e069a508621dc9599f07 (patch)
tree52cc52fb0ec42085c37bee5f4f2e5c5f10cf2631 /swaygrab/json.c
parent18450dd16a3909d0ea581f5f9cad4128751870cc (diff)
parent2e1083f52cbec40ed00df27dd1fb5b4d42d9254b (diff)
Merge branch 'master' of git://github.com/SirCmpwn/sway into new-command-aliases
Diffstat (limited to 'swaygrab/json.c')
-rw-r--r--swaygrab/json.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/swaygrab/json.c b/swaygrab/json.c
index 7cd73cbe..563b8ba3 100644
--- a/swaygrab/json.c
+++ b/swaygrab/json.c
@@ -1,3 +1,5 @@
+#define _XOPEN_SOURCE 500
+#include <string.h>
#include <stdio.h>
#include <stdbool.h>
#include <stdlib.h>