diff options
author | Pino Toscano <toscano.pino@tiscali.it> | 2019-12-27 18:50:27 +0100 |
---|---|---|
committer | Ludovic Rousseau <ludovic.rousseau@free.fr> | 2019-12-28 18:05:13 +0100 |
commit | 1e9d26a753a741bfdb0769b4c895697d16edcc27 (patch) | |
tree | 4b0e62ce996bbca24d41645b59c9614bfc2c80de /libusb/os | |
parent | 53572d7e5eee79266139399924c7491174be1670 (diff) | |
download | libusb-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')
0 files changed, 0 insertions, 0 deletions