libftdi-git Archives

Subject: A library to talk to FTDI chips branch, master, updated. v1.4rc1-3-g5a37dcb

From: libftdi-git@xxxxxxxxxxxxxxxxxxxxxxx
To: libftdi-git@xxxxxxxxxxxxxxxxxxxxxxx
Date: Fri, 21 Apr 2017 18:05:20 +0200 (CEST)
The branch, master has been updated
       via  5a37dcb718d42bcf51bf87c3f8a257e3480686ec (commit)
      from  63d76cc19e2251196a4e3bf954f789707da618b9 (commit)


- Log -----------------------------------------------------------------
commit 5a37dcb718d42bcf51bf87c3f8a257e3480686ec
Author: Yegor Yefremov <yegorslists@xxxxxxxxxxxxxx>
Date:   Wed Apr 12 07:55:22 2017 +0200

    Add missing sys/time.h include
    
    When compiling libftdi with mingw toolchain it complains about
    implicit declaration of gettimeofday().
    
    Signed-off-by: Yegor Yefremov <yegorslists@xxxxxxxxxxxxxx>

-----------------------------------------------------------------------

Summary of changes:
 src/ftdi_stream.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

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"


hooks/post-receive
-- 
A library to talk to FTDI chips

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

Current Thread
  • A library to talk to FTDI chips branch, master, updated. v1.4rc1-3-g5a37dcb, libftdi-git <=