14c937af41
git-svn-id: svn://svn.openwrt.org/openwrt/packages@16806 3c298f89-4303-0410-b956-a3cf2f4a3e73
19 lines
325 B
Diff
19 lines
325 B
Diff
--- a/ezusb.c
|
|
+++ b/ezusb.c
|
|
@@ -30,8 +30,14 @@
|
|
# include <sys/ioctl.h>
|
|
|
|
# include <linux/version.h>
|
|
-# include <linux/usb/ch9.h>
|
|
+typedef unsigned long kernel_ulong_t;
|
|
+
|
|
+#ifndef BITS_PER_LONG
|
|
+#define BITS_PER_LONG 32
|
|
+#endif
|
|
+
|
|
# include <linux/usbdevice_fs.h>
|
|
+# include <linux/usb/ch9.h>
|
|
|
|
# include "ezusb.h"
|
|
|