diff options
author | johalun <johalun0@gmail.com> | 2017-06-05 13:44:29 +0200 |
---|---|---|
committer | johalun <johalun0@gmail.com> | 2017-06-06 09:45:50 +0200 |
commit | 7fef2830446e1f98a02f8d8a3bba866b7edd5bd0 (patch) | |
tree | 10c1529eb56235b303bdbca905e8b80dce47ae6d /common/util.c | |
parent | Revert "Drop epoll dependency" (diff) | |
download | sway-7fef2830446e1f98a02f8d8a3bba866b7edd5bd0.tar.gz sway-7fef2830446e1f98a02f8d8a3bba866b7edd5bd0.tar.zst sway-7fef2830446e1f98a02f8d8a3bba866b7edd5bd0.zip |
FreeBSD fixes
Increase _POSIX_SOURCE value where needed.
Increase _XOPEN_SOURCE value where needed.
Conditionally link to libcap (only on Linux).
Possibly some trailing whitespace fixes (automatic).
Diffstat (limited to 'common/util.c')
-rw-r--r-- | common/util.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/common/util.c b/common/util.c index 34bb5ec1..d6369853 100644 --- a/common/util.c +++ b/common/util.c | |||
@@ -1,4 +1,4 @@ | |||
1 | #define _XOPEN_SOURCE 500 | 1 | #define _XOPEN_SOURCE 700 |
2 | #include <sys/types.h> | 2 | #include <sys/types.h> |
3 | #include <sys/stat.h> | 3 | #include <sys/stat.h> |
4 | #include <unistd.h> | 4 | #include <unistd.h> |