summaryrefslogtreecommitdiff
path: root/recipes/fxload/files/usbheader.patch
blob: db205e9ab5a054b89bddd858c62cca20230b6a76 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
--- fxload-0.0.20020411.orig/ezusb.c
+++ fxload-0.0.20020411/ezusb.c
@@ -29,7 +29,11 @@
 # include  <sys/ioctl.h>

 # include  <linux/version.h>
-# include  <linux/usb.h>
+#if (LINUX_VERSION_CODE >= 132630)
+# include  <linux/usb/ch9.h>
+#else
+# include  <linux/usb_ch9.h>
+#endif
 # include  <linux/usbdevice_fs.h>

 # include "ezusb.h"