aboutsummaryrefslogtreecommitdiff
path: root/sway
diff options
context:
space:
mode:
authorDrew DeVault <sir@cmpwn.com>2017-04-08 06:53:22 -0400
committerGitHub <noreply@github.com>2017-04-08 06:53:22 -0400
commit7fee555a462b001748352da1339c9bcc0e154a3b (patch)
treec244f4ba75e2736815f096c51e691f5c664c2326 /sway
parent8d191b2785161a204c4df15aadeca66e306afa1c (diff)
parentaa6bd85da147291728acb0828f5c987a02a66193 (diff)
downloadsway-7fee555a462b001748352da1339c9bcc0e154a3b.tar.xz
Merge pull request #1150 from JerziKaminsky/cmake_find_libcap
Add libcap check to CMake
Diffstat (limited to 'sway')
-rw-r--r--sway/main.c2
1 files changed, 1 insertions, 1 deletions
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 <signal.h>
#include <unistd.h>
#include <getopt.h>
-#include <sys/capability.h>
#ifdef __linux__
+#include <sys/capability.h>
#include <sys/prctl.h>
#endif
#include "sway/extensions.h"