summaryrefslogtreecommitdiff
path: root/swaygrab/json.c
diff options
context:
space:
mode:
authorDrew DeVault <[email protected]>2017-03-10 23:41:24 -0500
committerDrew DeVault <[email protected]>2017-03-10 23:41:24 -0500
commit9aed9d93596cdc72e305338d82ccc0dcaf85c6e2 (patch)
treeb5a3db4994970b2d0033e717771b24a92503ddac /swaygrab/json.c
parent74d4f1bec9a70bc800ecd7b15c9c6c0d7a5ce918 (diff)
UnGNUify the codebase
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>