summaryrefslogtreecommitdiff
path: root/sys-process/audit/files/audit-1.7.18-missing_headers.patch
diff options
context:
space:
mode:
Diffstat (limited to 'sys-process/audit/files/audit-1.7.18-missing_headers.patch')
-rw-r--r--sys-process/audit/files/audit-1.7.18-missing_headers.patch13
1 files changed, 13 insertions, 0 deletions
diff --git a/sys-process/audit/files/audit-1.7.18-missing_headers.patch b/sys-process/audit/files/audit-1.7.18-missing_headers.patch
new file mode 100644
index 00000000000..120b173a0d7
--- /dev/null
+++ b/sys-process/audit/files/audit-1.7.18-missing_headers.patch
@@ -0,0 +1,13 @@
+Index: audit-1.7.13/lib/libaudit.c
+===========================================
+--- audit-1.7.13.orig/lib/libaudit.c
++++ audit-1.7.13/lib/libaudit.c
+@@ -36,6 +36,8 @@
+ #include <sys/utsname.h>
+ #include <fcntl.h> /* O_NOFOLLOW needs gnu defined */
+ #include <limits.h> /* for PATH_MAX */
++#include <sys/stat.h>
++#include <sys/types.h>
+
+ #include "libaudit.h"
+ #include "private.h"