Permalink
Browse files

libusbemu/libusb.h: include <sys/time.h>

MinGW also needs struct timeval.

Signed-off-by: Drew Fisher <drew.m.fisher@gmail.com>
  • Loading branch information...
zarvox committed Nov 23, 2011
1 parent 25578d6 commit bac62d042158560aa1bc0d54298167e77870037d
Showing with 2 additions and 1 deletion.
  1. +2 −1 platform/windows/libusb10emu/libusb-1.0/libusb.h
@@ -42,7 +42,8 @@
// We need struct timeval.
#include <winsock.h>
#else
-#include <stdint.h>
+ #include <stdint.h>
+ #include <sys/time.h>
#endif
#define LIBUSBEMU 1

0 comments on commit bac62d0

Please sign in to comment.