[dm-devel] device-mapper/kernel/ioctl dm-ioctl.h

agk at sourceware.org agk at sourceware.org
Fri Dec 7 12:57:58 UTC 2007


CVSROOT:	/cvs/dm
Module name:	device-mapper
Changes by:	agk at sourceware.org	2007-12-07 12:57:57

Modified files:
	kernel/ioctl   : dm-ioctl.h 

Log message:
	reinstate linux ifdef

Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/device-mapper/kernel/ioctl/dm-ioctl.h.diff?cvsroot=dm&r1=1.45&r2=1.46

--- device-mapper/kernel/ioctl/dm-ioctl.h	2007/12/05 14:11:26	1.45
+++ device-mapper/kernel/ioctl/dm-ioctl.h	2007/12/07 12:57:57	1.46
@@ -8,7 +8,9 @@
 #ifndef _LINUX_DM_IOCTL_V4_H
 #define _LINUX_DM_IOCTL_V4_H
 
-#include <linux/types.h>
+#ifdef linux
+#  include <linux/types.h>
+#endif
 
 #define DM_DIR "mapper"		/* Slashes not supported */
 #define DM_MAX_TYPE_NAME 16




More information about the dm-devel mailing list