summaryrefslogtreecommitdiff
blob: 849baff7be4d0487fd6e0928b18f016a538d8b3c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
--- libusb/access.c.orig	2004-03-04 03:24:41.028301880 +0000
+++ libusb/access.c	2004-03-04 03:35:05.013231200 +0000
@@ -30,6 +30,9 @@
 
 #include "libusb.h"
 
+#include <asm/types.h>
+typedef unsigned long kernel_ulong_t;
+
 #ifdef HAVE_LINUX_USB_H
 #include <linux/usb.h>
 #else
--- libusb/descparse.c.orig	2004-03-04 03:15:39.897292152 +0000
+++ libusb/descparse.c	2004-03-04 03:35:33.585280600 +0000
@@ -30,9 +30,13 @@
 
 #include "libusb.h"
 
+typedef unsigned long kernel_ulong_t;
+
 #ifdef HAVE_LINUX_USB_H
+#include <asm/types.h>
 #include <linux/usb.h>
 #else
+#include <asm/types.h>
 #include "usb.h"
 #endif