From: Yegor Yefremov <yegorslists@xxxxxxxxxxxxxx>
When compiling libftdi with mingw toolchain it complains about
implicit declaration of gettimeofday().
Signed-off-by: Yegor Yefremov <yegorslists@xxxxxxxxxxxxxx>
---
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 <stdlib.h>
#include <stdio.h>
+#include <sys/time.h>
#include <libusb.h>
#include "ftdi.h"
--
2.11.0
--
libftdi - see http://www.intra2net.com/en/developer/libftdi for details.
To unsubscribe send a mail to libftdi+unsubscribe@xxxxxxxxxxxxxxxxxxxxxxx
|