Build on _WIN32: Don't include sys/time.h
authorJon Beniston <jon@beniston.com>
Fri, 22 Jul 2016 10:29:21 +0000 (12:29 +0200)
committerThomas Jarosch <thomas.jarosch@intra2net.com>
Fri, 22 Jul 2016 10:29:21 +0000 (12:29 +0200)
commit223e5aae4f0dcf228d758ae60f02398e3d1e95da
tree83be8db94148d07b1980344c145c29fdf4685b61
parent2f2d0deec2c1c33d233f4e4811191ee757b6420a
Build on _WIN32: Don't include sys/time.h

The attached patch fixes compilation with Visual Studio:

sys/time.h isn't available on Windows. timeval is defined within
windows includes.

Compiles OK for Cygwin/Mingw too.
src/ftdi.h