summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTanu Kaskinen <tanu.kaskinen@linux.intel.com>2014-01-26 16:41:29 +0200
committerTanu Kaskinen <tanu.kaskinen@linux.intel.com>2014-01-26 16:41:29 +0200
commit97c27202ca71f5f3f6792535eef1e26f5369e9cc (patch)
tree479129a10aebc59dd1051df480db34814b89b503
parent6ac599c1f41ed19db8aed1d5195bfd456fee9a99 (diff)
caps: Don't require --without-caps on FreeBSD
BugLink: https://bugs.freedesktop.org/show_bug.cgi?id=72580
-rw-r--r--src/daemon/caps.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/daemon/caps.c b/src/daemon/caps.c
index 9540f0666..669d6e283 100644
--- a/src/daemon/caps.c
+++ b/src/daemon/caps.c
@@ -86,6 +86,9 @@ void pa_drop_caps(void) {
pa_assert_se(cap_clear(caps) == 0);
pa_assert_se(cap_set_proc(caps) == 0);
pa_assert_se(cap_free(caps) == 0);
+#elif defined(__FreeBSD__)
+ /* FreeBSD doesn't have this functionality, even though sys/capability.h is
+ * available. See https://bugs.freedesktop.org/show_bug.cgi?id=73967 */
#else
#error "Don't know how to do capabilities on your system. Please send a patch."
#endif /* __linux__ */