aboutsummaryrefslogtreecommitdiff
path: root/swaygrab
diff options
context:
space:
mode:
authorDrew DeVault <sir@cmpwn.com>2017-06-06 09:34:01 -0400
committerGitHub <noreply@github.com>2017-06-06 09:34:01 -0400
commitfd47a30e75cccfc3789eafa4bfabd66f4696099b (patch)
tree10c1529eb56235b303bdbca905e8b80dce47ae6d /swaygrab
parent5ed533a94331ea2d849f900ee20f8932d742e9b5 (diff)
parent7fef2830446e1f98a02f8d8a3bba866b7edd5bd0 (diff)
Merge pull request #1232 from johalun/master-freebsd
FreeBSD fixes
Diffstat (limited to 'swaygrab')
-rw-r--r--swaygrab/json.c2
-rw-r--r--swaygrab/main.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/swaygrab/json.c b/swaygrab/json.c
index 563b8ba3..80dae299 100644
--- a/swaygrab/json.c
+++ b/swaygrab/json.c
@@ -1,4 +1,4 @@
-#define _XOPEN_SOURCE 500
+#define _XOPEN_SOURCE 700
#include <string.h>
#include <stdio.h>
#include <stdbool.h>
diff --git a/swaygrab/main.c b/swaygrab/main.c
index f901d318..413de1fa 100644
--- a/swaygrab/main.c
+++ b/swaygrab/main.c
@@ -1,4 +1,4 @@
-#define _XOPEN_SOURCE 500
+#define _XOPEN_SOURCE 700
#define _POSIX_C_SOURCE 199309L
#include <stdio.h>
#include <stdbool.h>