From ac77e10a0fc0c2f015be5df159e38d4cf0f44fe0 Mon Sep 17 00:00:00 2001 From: John Johansen Date: Wed, 31 Aug 2011 16:01:54 -0700 Subject: [PATCH] Fix missing pid_t dependency in apparmor.h The define for pid_t is missing in apparmor.h so that if it is included in programs that don't also include sys/types.h the compile will break. Signed-off-by: John Johansen Acked-by: Kees Cook --- libraries/libapparmor/src/apparmor.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/libraries/libapparmor/src/apparmor.h b/libraries/libapparmor/src/apparmor.h index fbfaae098..c93bee83b 100644 --- a/libraries/libapparmor/src/apparmor.h +++ b/libraries/libapparmor/src/apparmor.h @@ -18,6 +18,8 @@ #ifndef _SYS_APPARMOR_H_ #define _SYS_APPARMOR_H 1 +#include + __BEGIN_DECLS /* Prototypes for apparmor state queries */