Skip to contentSkip to conversation

device-mapper/kernel/ioctl dm-ioctl.h

PATCH [email protected] 1 participant 1 message Dec 7, 2007 Device mapper

lore
Share & tools
lore
#0 lore raw

CVSROOT: /cvs/dm
Module name: device-mapper
Changes by: [email protected] 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

kernel/ioctl/dm-ioctl.h +3 -1
@@ -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