diff options
author | Drew DeVault <sir@cmpwn.com> | 2017-03-10 23:41:24 -0500 |
---|---|---|
committer | Drew DeVault <sir@cmpwn.com> | 2017-03-10 23:41:24 -0500 |
commit | 9aed9d93596cdc72e305338d82ccc0dcaf85c6e2 (patch) | |
tree | b5a3db4994970b2d0033e717771b24a92503ddac /swaygrab | |
parent | 74d4f1bec9a70bc800ecd7b15c9c6c0d7a5ce918 (diff) |
UnGNUify the codebase
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> |