From aa6bd85da147291728acb0828f5c987a02a66193 Mon Sep 17 00:00:00 2001 From: JerziKaminsky Date: Thu, 6 Apr 2017 02:42:25 +0300 Subject: Add libcap check to CMake - Moved ```` include inside `__linux__` guard, because all uses are similarly guarded. - is part of an optional devel package, at least in fedora. CMake now explicitly checks that libcap devel files are available. - Added libcap to the list of install packages in .travis.yml, to make the dependency explicit. travis-ci installs the package by default, which is why this hasn't surfaced previously. --- sway/main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sway/main.c') diff --git a/sway/main.c b/sway/main.c index 55b71fa4..b9f8936f 100644 --- a/sway/main.c +++ b/sway/main.c @@ -11,8 +11,8 @@ #include #include #include -#include #ifdef __linux__ +#include #include #endif #include "sway/extensions.h" -- cgit v1.2.3