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 | Further indentation corrections (diff) | |
download | sway-9aed9d93596cdc72e305338d82ccc0dcaf85c6e2.tar.gz sway-9aed9d93596cdc72e305338d82ccc0dcaf85c6e2.tar.zst sway-9aed9d93596cdc72e305338d82ccc0dcaf85c6e2.zip |
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 @@ | |||
1 | #define _XOPEN_SOURCE 500 | ||
2 | #include <string.h> | ||
1 | #include <stdio.h> | 3 | #include <stdio.h> |
2 | #include <stdbool.h> | 4 | #include <stdbool.h> |
3 | #include <stdlib.h> | 5 | #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 @@ | |||
1 | #define _XOPEN_SOURCE 500 | ||
2 | #define _POSIX_C_SOURCE 199309L | ||
1 | #include <stdio.h> | 3 | #include <stdio.h> |
2 | #include <stdbool.h> | 4 | #include <stdbool.h> |
3 | #include <stdlib.h> | 5 | #include <stdlib.h> |