rpcd: iwinfo plugin fixes
[openwrt/svn-archive/archive.git] / patches / 010-compile_fix.patch
1 --- fxload-2002_04_11/ezusb.c.old 2006-12-18 18:51:26.000000000 -0700
2 +++ fxload-2002_04_11/ezusb.c 2006-12-18 18:51:59.000000000 -0700
3 @@ -29,8 +29,14 @@
4 # include <sys/ioctl.h>
5
6 # include <linux/version.h>
7 -# include <linux/usb.h>
8 +typedef unsigned long kernel_ulong_t;
9 +
10 +#ifndef BITS_PER_LONG
11 +#define BITS_PER_LONG 32
12 +#endif
13 +
14 # include <linux/usbdevice_fs.h>
15 +# include <linux/usb.h>
16
17 # include "ezusb.h"
18