Skip to content

Commit bac62d0

Browse files
committed
libusbemu/libusb.h: include <sys/time.h>
MinGW also needs struct timeval. Signed-off-by: Drew Fisher <[email protected]>
1 parent 25578d6 commit bac62d0

File tree

1 file changed

+2
-1
lines changed
  • platform/windows/libusb10emu/libusb-1.0

1 file changed

+2
-1
lines changed

platform/windows/libusb10emu/libusb-1.0/libusb.h

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,8 @@
4242
// We need struct timeval.
4343
#include <winsock.h>
4444
#else
45-
#include <stdint.h>
45+
#include <stdint.h>
46+
#include <sys/time.h>
4647
#endif
4748

4849
#define LIBUSBEMU 1

0 commit comments

Comments
 (0)