2009-07-12 13:02:20 +00:00
|
|
|
--- a/ezusb.c
|
|
|
|
+++ b/ezusb.c
|
|
|
|
@@ -30,8 +30,14 @@
|
2006-12-28 18:15:39 +00:00
|
|
|
# include <sys/ioctl.h>
|
|
|
|
|
|
|
|
# include <linux/version.h>
|
2009-07-12 13:02:20 +00:00
|
|
|
-# include <linux/usb/ch9.h>
|
2006-12-28 18:15:39 +00:00
|
|
|
+typedef unsigned long kernel_ulong_t;
|
|
|
|
+
|
|
|
|
+#ifndef BITS_PER_LONG
|
|
|
|
+#define BITS_PER_LONG 32
|
|
|
|
+#endif
|
|
|
|
+
|
|
|
|
# include <linux/usbdevice_fs.h>
|
2009-07-12 13:02:20 +00:00
|
|
|
+# include <linux/usb/ch9.h>
|
2006-12-28 18:15:39 +00:00
|
|
|
|
|
|
|
# include "ezusb.h"
|
|
|
|
|