Re: [PATCH] Add missing sys/time.h include

2017-04-21 Thread Thomas Jarosch
On Wednesday, 12 April 2017 07:55:22 CEST yegorsli...@googlemail.com wrote:
> From: Yegor Yefremov 
> 
> When compiling libftdi with mingw toolchain it complains about
> implicit declaration of gettimeofday().

applied, thanks.

Cheers,
Thomas


--
libftdi - see http://www.intra2net.com/en/developer/libftdi for details.
To unsubscribe send a mail to libftdi+unsubscr...@developer.intra2net.com   



[PATCH] Add missing sys/time.h include

2017-04-11 Thread yegorslists
From: Yegor Yefremov 

When compiling libftdi with mingw toolchain it complains about
implicit declaration of gettimeofday().

Signed-off-by: Yegor Yefremov 
---
 src/ftdi_stream.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/ftdi_stream.c b/src/ftdi_stream.c
index 2ad54c0..2ed39b3 100644
--- a/src/ftdi_stream.c
+++ b/src/ftdi_stream.c
@@ -41,6 +41,7 @@
 
 #include 
 #include 
+#include 
 #include 
 
 #include "ftdi.h"
-- 
2.11.0


--
libftdi - see http://www.intra2net.com/en/developer/libftdi for details.
To unsubscribe send a mail to libftdi+unsubscr...@developer.intra2net.com