diff options
Diffstat (limited to 'app-admin/setools/files/fix-implicit-def-fstat.patch')
-rw-r--r-- | app-admin/setools/files/fix-implicit-def-fstat.patch | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/app-admin/setools/files/fix-implicit-def-fstat.patch b/app-admin/setools/files/fix-implicit-def-fstat.patch new file mode 100644 index 000000000000..72764320a252 --- /dev/null +++ b/app-admin/setools/files/fix-implicit-def-fstat.patch @@ -0,0 +1,13 @@ +diff -ur setools-3.3.7.orig/libqpol/src/policy.c setools-3.3.7/libqpol/src/policy.c +--- setools-3.3.7.orig/libqpol/src/policy.c 2011-08-12 19:48:13.793000029 +0200 ++++ setools-3.3.7/libqpol/src/policy.c 2011-08-12 19:49:32.880001229 +0200 +@@ -36,6 +36,9 @@ + #include <stdio.h> + #include <stdlib.h> + #include <sys/mman.h> ++#include <sys/types.h> ++#include <sys/stat.h> ++#include <unistd.h> + #include <asm/types.h> + + #include <sepol/debug.h> |