diff mbox

[1/1] UBUNTU: SAUCE: AppArmor -- add linux/kref.h for struct kref

Message ID 1266492569-10532-1-git-send-email-apw@canonical.com
State Accepted
Delegated to: Andy Whitcroft
Headers show

Commit Message

Andy Whitcroft Feb. 18, 2010, 11:29 a.m. UTC
Include linux/kref.h to get struct kref for non-x86 architectures.
Fixes compile failures on arm.

Signed-off-by: Andy Whitcroft <apw@canonical.com>
---
 security/apparmor/match.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

Comments

Andy Whitcroft Feb. 18, 2010, 11:51 a.m. UTC | #1
Applied to Lucid.

-apw
diff mbox

Patch

diff --git a/security/apparmor/match.c b/security/apparmor/match.c
index 609e14d..6e6a816 100644
--- a/security/apparmor/match.c
+++ b/security/apparmor/match.c
@@ -18,6 +18,7 @@ 
 #include <linux/slab.h>
 #include <linux/vmalloc.h>
 #include <linux/err.h>
+#include <linux/kref.h>
 
 #include "include/match.h"