1 diff -urp libusb-1.0.9.orig/libusb/io.c libusb-1.0.9/libusb/io.c
2 --- libusb-1.0.9.orig/libusb/io.c 2013-08-28 14:33:15.000000000 +0200
3 +++ libusb-1.0.9/libusb/io.c 2013-08-28 14:31:25.000000000 +0200
8 +#ifndef TIMESPEC_TO_TIMEVAL
9 +#define TIMESPEC_TO_TIMEVAL(tv, ts) \
11 + (tv)->tv_sec = (ts)->tv_sec; \
12 + (tv)->tv_usec = (ts)->tv_nsec / 1000; \
17 * \page io Synchronous and asynchronous device I/O