aboutsummaryrefslogtreecommitdiffstats
path: root/testing/apparmor/0008-Add-missing-include-for-ppc64le.patch
diff options
context:
space:
mode:
Diffstat (limited to 'testing/apparmor/0008-Add-missing-include-for-ppc64le.patch')
-rw-r--r--testing/apparmor/0008-Add-missing-include-for-ppc64le.patch12
1 files changed, 12 insertions, 0 deletions
diff --git a/testing/apparmor/0008-Add-missing-include-for-ppc64le.patch b/testing/apparmor/0008-Add-missing-include-for-ppc64le.patch
new file mode 100644
index 0000000000..9e1955b66b
--- /dev/null
+++ b/testing/apparmor/0008-Add-missing-include-for-ppc64le.patch
@@ -0,0 +1,12 @@
+--- apparmor-2.11.0/parser/parser_include.c
++++ apparmor-2.11.0/parser/parser_include.c
+@@ -45,6 +45,9 @@
+ #include <unistd.h>
+ #include <errno.h>
+ #include <dirent.h>
++#ifdef __powerpc64__
++#include <limits.h>
++#endif
+
+ #include "lib.h"
+ #include "parser.h"