mumble/0001-fix-build-error-with-capability.h.diff

25 lines
707 B
Diff

From 72d7a63286539dee07d962c8f2abf2867efa7d6a Mon Sep 17 00:00:00 2001
From: Ludwig Nussel <ludwig.nussel@suse.de>
Date: Thu, 23 Dec 2010 14:03:56 +0100
Subject: [PATCH 1/2] fix build error with capability.h
---
src/murmur/murmur_pch.h | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/src/murmur/murmur_pch.h b/src/murmur/murmur_pch.h
index daf7884..27c38a1 100644
--- a/src/murmur/murmur_pch.h
+++ b/src/murmur/murmur_pch.h
@@ -56,6 +56,7 @@ extern "C" {
#include <sys/time.h>
#include <sys/resource.h>
#ifdef Q_OS_LINUX
+#include <linux/types.h> // needed to work around evil magic stuff in capability.h
#include <sys/capability.h>
#include <sys/prctl.h>
#endif
--
1.7.1