diff options
author | Zandr Martin <zandrmartin@gmail.com> | 2017-03-13 07:35:12 -0400 |
---|---|---|
committer | Zandr Martin <zandrmartin@gmail.com> | 2017-03-13 07:35:12 -0400 |
commit | b507462d1c66e11cce76e069a508621dc9599f07 (patch) | |
tree | 52cc52fb0ec42085c37bee5f4f2e5c5f10cf2631 /swaygrab | |
parent | 18450dd16a3909d0ea581f5f9cad4128751870cc (diff) | |
parent | 2e1083f52cbec40ed00df27dd1fb5b4d42d9254b (diff) | |
download | sway-b507462d1c66e11cce76e069a508621dc9599f07.tar.xz |
Merge branch 'master' of git://github.com/SirCmpwn/sway into new-command-aliases
Diffstat (limited to 'swaygrab')
-rw-r--r-- | swaygrab/json.c | 2 | ||||
-rw-r--r-- | swaygrab/main.c | 2 |
2 files changed, 4 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> diff --git a/swaygrab/main.c b/swaygrab/main.c index a88a6bcc..3b8c5651 100644 --- a/swaygrab/main.c +++ b/swaygrab/main.c @@ -1,3 +1,5 @@ +#define _XOPEN_SOURCE 500 +#define _POSIX_C_SOURCE 199309L #include <stdio.h> #include <stdbool.h> #include <stdlib.h> |