]> err.no Git - linux-2.6/blobdiff - include/linux/usbdevice_fs.h
[PATCH] USB: fix usbdevice_fs header breakage
[linux-2.6] / include / linux / usbdevice_fs.h
index fb57c221746827a06a1f7153ad794728771b1c89..9facf733800ccb99a7fb59e2be87b9a7846ada57 100644 (file)
@@ -32,7 +32,6 @@
 #define _LINUX_USBDEVICE_FS_H
 
 #include <linux/types.h>
-#include <linux/compat.h>
 
 /* --------------------------------------------------------------------- */
 
@@ -125,6 +124,7 @@ struct usbdevfs_hub_portinfo {
 };
 
 #ifdef CONFIG_COMPAT
+#include <linux/compat.h>
 struct usbdevfs_urb32 {
        unsigned char type;
        unsigned char endpoint;