[apparmor] [PATCH] parser: fix incorrect/missing includes

Steve Beattie steve at nxnw.org
Mon May 2 20:08:53 UTC 2011


On Mon, May 02, 2011 at 12:54:44PM -0700, Kees Cook wrote:
> Description: adjust for missing or incorrect includes.
> Author: Kees Cook <kees at ubuntu.com>
> 
> Index: apparmor-debian/parser/parser_regex.c
> ===================================================================
> --- apparmor-debian.orig/parser/parser_regex.c	2011-05-01 18:35:03.130381994 -0700
> +++ apparmor-debian/parser/parser_regex.c	2011-05-01 18:36:06.181342956 -0700
> @@ -16,6 +16,7 @@
>   */
>  
>  #include <stdio.h>
> +#include <stdlib.h>
>  #include <stdarg.h>
>  #include <string.h>
>  #include <libintl.h>
> Index: apparmor-debian/parser/parser_main.c
> ===================================================================
> --- apparmor-debian.orig/parser/parser_main.c	2011-05-01 18:35:03.110381690 -0700
> +++ apparmor-debian/parser/parser_main.c	2011-05-01 18:36:06.201343262 -0700
> @@ -28,7 +28,6 @@
>  #include <fcntl.h>
>  #include <mntent.h>
>  #include <libintl.h>
> -#include <linux/limits.h>
>  #include <locale.h>
>  #define _(s) gettext(s)
>  
> @@ -36,6 +35,7 @@
>  /* #define DEBUG */
>  
>  #include <unistd.h>
> +#include <limits.h>
>  #include <sys/sysctl.h>
>  #include <sys/types.h>
>  #include <sys/stat.h>

Acked-By: Steve Beattie <sbeattie at ubuntu.com>

-- 
Steve Beattie
<sbeattie at ubuntu.com>
http://NxNW.org/~steve/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <https://lists.ubuntu.com/archives/apparmor/attachments/20110502/4e192840/attachment-0001.pgp>


More information about the AppArmor mailing list