diff options
author | Drew DeVault <sir@cmpwn.com> | 2017-06-06 09:34:01 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-06-06 09:34:01 -0400 |
commit | fd47a30e75cccfc3789eafa4bfabd66f4696099b (patch) | |
tree | 10c1529eb56235b303bdbca905e8b80dce47ae6d /sway/config.c | |
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 'sway/config.c')
-rw-r--r-- | sway/config.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sway/config.c b/sway/config.c index 19b1882f..85823953 100644 --- a/sway/config.c +++ b/sway/config.c | |||
@@ -1,5 +1,5 @@ | |||
1 | #define _POSIX_C_SOURCE 200809L | 1 | #define _POSIX_C_SOURCE 200809L |
2 | #define _XOPEN_SOURCE 500 | 2 | #define _XOPEN_SOURCE 700 |
3 | #include <stdio.h> | 3 | #include <stdio.h> |
4 | #include <stdbool.h> | 4 | #include <stdbool.h> |
5 | #include <stdlib.h> | 5 | #include <stdlib.h> |
@@ -527,7 +527,7 @@ bool load_main_config(const char *file, bool is_active) { | |||
527 | list_add(config->config_chain, path); | 527 | list_add(config->config_chain, path); |
528 | 528 | ||
529 | config->reading = true; | 529 | config->reading = true; |
530 | 530 | ||
531 | // Read security configs | 531 | // Read security configs |
532 | bool success = true; | 532 | bool success = true; |
533 | DIR *dir = opendir(SYSCONFDIR "/sway/security.d"); | 533 | DIR *dir = opendir(SYSCONFDIR "/sway/security.d"); |