File no-inc-audit.diff of Package lvm2

--- lib/device/dev-io.c
+++ lib/device/dev-io.c
@@ -31,6 +31,7 @@
 #  define u64 uint64_t		/* Missing without __KERNEL__ */
 #  undef WNOHANG		/* Avoid redefinition */
 #  undef WUNTRACED		/* Avoid redefinition */
+#  define _LINUX_AUDIT_H_	/* Avoid inclusion */
 #  include <linux/fs.h>		/* For block ioctl definitions */
 #  define BLKSIZE_SHIFT SECTOR_SHIFT
 #  ifndef BLKGETSIZE64		/* fs.h out-of-date */
--- lib/filters/filter.c
+++ lib/filters/filter.c
@@ -25,6 +25,7 @@
 #include <fcntl.h>
 #include <limits.h>
 #include <sys/ioctl.h>
+#define _LINUX_AUDIT_H_
 #include <linux/fs.h>
 
 #define NUMBER_OF_MAJORS 256
openSUSE Build Service is sponsored by