[linux-lvm] Problems on compile
Shawn Leas
sleas at ixion.honeywell.com
Thu Feb 18 08:10:44 UTC 1999
Ok, it seems it is fixed by re-arranging liblvm.h a little. Heinz sent me
this a while back.
I suspect this was your problem as well.
--- 0.5alpha/tools/lib/liblvm.h Sat Jan 30 13:46:35 1999
+++ 0.6alpha/tools/lib/liblvm.h Mon Feb 1 00:54:29 1999
@@ -46,10 +46,6 @@
# endif
#endif
-#include <sys/ioctl.h>
-#include <linux/genhd.h>
-#include <linux/major.h>
-
#if __GLIBC__ > 1
# ifndef uint8_t
# define uint8_t u_int8_t
@@ -97,6 +93,10 @@
# include <malloc.h>
# include <stdio.h>
#endif /* __GLIBC__ > 1 */
+
+#include <sys/ioctl.h>
+#include <linux/genhd.h>
+#include <linux/major.h>
#include <lvm.h>
-Shawn
<=========== America Held Hostage ===========>
Day 2220 for the poor and the middle class.
Day 2239 for the rich and the dead.
702 days remaining in the Raw Deal.
<============================================>
More information about the linux-lvm
mailing list