2014-09-25 10:31:10 +02:00
|
|
|
Index: LVM2.2.02.111/lib/device/dev-io.c
|
2009-05-15 22:00:20 +02:00
|
|
|
===================================================================
|
2014-09-25 10:31:10 +02:00
|
|
|
--- LVM2.2.02.111.orig/lib/device/dev-io.c
|
|
|
|
+++ LVM2.2.02.111/lib/device/dev-io.c
|
|
|
|
@@ -31,7 +31,7 @@
|
2006-12-18 14:01:39 +01:00
|
|
|
# undef WNOHANG /* Avoid redefinition */
|
|
|
|
# undef WUNTRACED /* Avoid redefinition */
|
2014-09-25 10:31:10 +02:00
|
|
|
# define _LINUX_AUDIT_H_ /* Avoid inclusion */
|
2006-12-18 14:01:39 +01:00
|
|
|
-# include <linux/fs.h> /* For block ioctl definitions */
|
2014-09-25 10:31:10 +02:00
|
|
|
+# include <sys/mount.h> /* For block ioctl definitions */
|
2006-12-18 14:01:39 +01:00
|
|
|
# define BLKSIZE_SHIFT SECTOR_SHIFT
|
|
|
|
# ifndef BLKGETSIZE64 /* fs.h out-of-date */
|
|
|
|
# define BLKGETSIZE64 _IOR(0x12, 114, size_t)
|
2014-09-25 10:31:10 +02:00
|
|
|
Index: LVM2.2.02.111/lib/filters/filter-type.c
|
2009-05-15 22:00:20 +02:00
|
|
|
===================================================================
|
2014-09-25 10:31:10 +02:00
|
|
|
--- LVM2.2.02.111.orig/lib/filters/filter-type.c
|
|
|
|
+++ LVM2.2.02.111/lib/filters/filter-type.c
|
|
|
|
@@ -14,7 +14,7 @@
|
|
|
|
*/
|
2006-12-18 14:01:39 +01:00
|
|
|
#include <sys/ioctl.h>
|
|
|
|
#define _LINUX_AUDIT_H_
|
|
|
|
-#include <linux/fs.h>
|
|
|
|
+#include <sys/mount.h>
|
|
|
|
#undef MAJOR
|
|
|
|
#undef MINOR
|
|
|
|
#undef MKDEV
|