Fix ftdi_stream.c compilation on WIN32
authorThomas Jarosch <thomas.jarosch@intra2net.com>
Tue, 19 Sep 2017 14:19:37 +0000 (16:19 +0200)
committerThomas Jarosch <thomas.jarosch@intra2net.com>
Tue, 19 Sep 2017 14:19:37 +0000 (16:19 +0200)
src/ftdi_stream.c

index 2ed39b3..1dc46ea 100644 (file)
@@ -41,7 +41,9 @@
 
 #include <stdlib.h>
 #include <stdio.h>
+#ifndef _WIN32
 #include <sys/time.h>
+#endif
 #include <libusb.h>
 
 #include "ftdi.h"