diff options
author | 2017-06-06 09:34:01 -0400 | |
---|---|---|
committer | 2017-06-06 09:34:01 -0400 | |
commit | fd47a30e75cccfc3789eafa4bfabd66f4696099b (patch) | |
tree | 10c1529eb56235b303bdbca905e8b80dce47ae6d /swaygrab | |
parent | Revert "Drop epoll dependency" (diff) | |
parent | FreeBSD fixes (diff) | |
download | sway-fd47a30e75cccfc3789eafa4bfabd66f4696099b.tar.gz sway-fd47a30e75cccfc3789eafa4bfabd66f4696099b.tar.zst sway-fd47a30e75cccfc3789eafa4bfabd66f4696099b.zip |
Merge pull request #1232 from johalun/master-freebsd
FreeBSD fixes
Diffstat (limited to 'swaygrab')
-rw-r--r-- | swaygrab/json.c | 2 | ||||
-rw-r--r-- | swaygrab/main.c | 2 |
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 @@ | |||
1 | #define _XOPEN_SOURCE 500 | 1 | #define _XOPEN_SOURCE 700 |
2 | #include <string.h> | 2 | #include <string.h> |
3 | #include <stdio.h> | 3 | #include <stdio.h> |
4 | #include <stdbool.h> | 4 | #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 @@ | |||
1 | #define _XOPEN_SOURCE 500 | 1 | #define _XOPEN_SOURCE 700 |
2 | #define _POSIX_C_SOURCE 199309L | 2 | #define _POSIX_C_SOURCE 199309L |
3 | #include <stdio.h> | 3 | #include <stdio.h> |
4 | #include <stdbool.h> | 4 | #include <stdbool.h> |