diff options
author | Michael Plante <michael.plante@gmail.com> | 2010-07-29 13:11:49 +0100 |
---|---|---|
committer | Michael Plante <michael.plante@gmail.com> | 2010-07-29 13:11:49 +0100 |
commit | f0c40ad8113f672269cf1a65d9c2b73d35b907b2 (patch) | |
tree | 2d6d32d6470b69725d50f72ddbe4f00afe76dccd /libusb/io.c | |
parent | 96cd678c934d10233b2a50364a4f6f797ef49cb8 (diff) | |
download | libusb-f0c40ad8113f672269cf1a65d9c2b73d35b907b2.tar.gz |
merged backend integration changes from official branch
Diffstat (limited to 'libusb/io.c')
-rw-r--r-- | libusb/io.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/libusb/io.c b/libusb/io.c index febe121..8d94400 100644 --- a/libusb/io.c +++ b/libusb/io.c @@ -23,9 +23,10 @@ #include <signal.h> #include <stdlib.h> #include <string.h> +#include <time.h> -#ifndef OS_WINDOWS -#include "os/poll_posix.h" +#ifdef HAVE_SYS_TIME_H +#include <sys/time.h> #endif #ifdef USBI_TIMERFD_AVAILABLE |