Hi Evgeny,
On Friday, 15 September 2017 15:39:56 CEST Evgeny Dontsov wrote:
> I update libftdi to 1.4 and got the same error in ftdi_stream.c:
>
> D:\CODE\adapters\var\tmp\env-build\win32_vs2012\libftdi1-1.4.tar.bz2\libftdi
> 1-1.4\src\ftdi_strea m.c(44): fatal error C1083: Cannot open include file:
> 'sys/time.h': No such file or directory [D:\
> CODE\adapters\var\tmp\env-build\win32_vs2012\libftdi1-1.4.tar.bz2\libftdi1-
> 1.4\build-debug\src\ftd i1-static.vcxproj]
> Evgeny
please try if the same #ifdef around sys/time.h as in ftdi.h
works for ftdi_stream.c, too:
--------------------
#ifndef _WIN32
#include <sys/time.h>
#endif
--------------------
Cheers,
Thomas
--
libftdi - see http://www.intra2net.com/en/developer/libftdi for details.
To unsubscribe send a mail to libftdi+unsubscribe@xxxxxxxxxxxxxxxxxxxxxxx
|