--- a/ezusb.c +++ b/ezusb.c @@ -30,8 +30,14 @@ # include # include -# include +typedef unsigned long kernel_ulong_t; + +#ifndef BITS_PER_LONG +#define BITS_PER_LONG 32 +#endif + # include +# include # include "ezusb.h"