Add kernel driver auto attach/detach
[libftdi] / src / ftdi_stream.c
index 2ad54c0..1dc46ea 100644 (file)
@@ -41,6 +41,9 @@
 
 #include <stdlib.h>
 #include <stdio.h>
+#ifndef _WIN32
+#include <sys/time.h>
+#endif
 #include <libusb.h>
 
 #include "ftdi.h"