Fix ftdi_stream.c compilation on WIN32
[libftdi] / 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"