summaryrefslogtreecommitdiff
path: root/libusb/os/windows_usbdk.c
diff options
context:
space:
mode:
authorPino Toscano <toscano.pino@tiscali.it>2019-12-27 18:50:27 +0100
committerLudovic Rousseau <ludovic.rousseau@free.fr>2019-12-28 18:05:13 +0100
commit1e9d26a753a741bfdb0769b4c895697d16edcc27 (patch)
tree4b0e62ce996bbca24d41645b59c9614bfc2c80de /libusb/os/windows_usbdk.c
parent53572d7e5eee79266139399924c7491174be1670 (diff)
downloadlibusb-1e9d26a753a741bfdb0769b4c895697d16edcc27.tar.gz
core: include sys/time.h on any GNU libc OS
GNU libc provides sys/time.h, so unconditionally include it when using that libc. Since sys/time.h is already included on a number of OSes, include it to minimize the differences between OSes when using libusb. Arguably, sources using functions from sys/time.h (such as gettimeofday) ought to already include it on their own; OTOH, let's avoid making such issues OS-specific.
Diffstat (limited to 'libusb/os/windows_usbdk.c')
0 files changed, 0 insertions, 0 deletions