patch-2.3.99-pre9 linux/include/linux/lvm.h
Next file: linux/include/linux/mount.h
Previous file: linux/include/linux/if_pppox.h
Back to the patch index
Back to the overall index
- Lines: 16
- Date:
Tue May 23 14:19:01 2000
- Orig file:
v2.3.99-pre8/linux/include/linux/lvm.h
- Orig date:
Sun Feb 20 21:12:40 2000
diff -u --recursive --new-file v2.3.99-pre8/linux/include/linux/lvm.h linux/include/linux/lvm.h
@@ -83,11 +83,13 @@
#include <linux/version.h>
#ifndef __KERNEL__
+#define ____NOT_KERNEL____
#define __KERNEL__
+#endif
#include <linux/kdev_t.h>
+#ifdef ____NOT_KERNEL____
+#undef ____NOT_KERNEL____
#undef __KERNEL__
-#else
-#include <linux/kdev_t.h>
#endif
#include <linux/major.h>
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)