audit/audit-2.0.5-glibc.patch
2010-01-29 18:57:22 +00:00

12 lines
415 B
Diff

diff -urp audit-2.0.5.orig/lib/libaudit.c audit-2.0.5/lib/libaudit.c
--- audit-2.0.5.orig/lib/libaudit.c 2009-12-09 09:49:10.000000000 -0500
+++ audit-2.0.5/lib/libaudit.c 2010-01-13 19:28:10.000000000 -0500
@@ -34,6 +34,7 @@
#include <errno.h>
#include <sys/poll.h>
#include <sys/utsname.h>
+#include <sys/stat.h>
#include <fcntl.h> /* O_NOFOLLOW needs gnu defined */
#include <limits.h> /* for PATH_MAX */