aboutsummaryrefslogtreecommitdiffstats
path: root/swaygrab
diff options
context:
space:
mode:
authorLibravatar Drew DeVault <sir@cmpwn.com>2017-03-10 23:41:24 -0500
committerLibravatar Drew DeVault <sir@cmpwn.com>2017-03-10 23:41:24 -0500
commit9aed9d93596cdc72e305338d82ccc0dcaf85c6e2 (patch)
treeb5a3db4994970b2d0033e717771b24a92503ddac /swaygrab
parentFurther indentation corrections (diff)
downloadsway-9aed9d93596cdc72e305338d82ccc0dcaf85c6e2.tar.gz
sway-9aed9d93596cdc72e305338d82ccc0dcaf85c6e2.tar.zst
sway-9aed9d93596cdc72e305338d82ccc0dcaf85c6e2.zip
UnGNUify the codebase
Diffstat (limited to 'swaygrab')
-rw-r--r--swaygrab/json.c2
-rw-r--r--swaygrab/main.c2
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>