Fix build errors caused by the (hypothetical) conversion of mlt_position from an...
[melted] / src / inigo / io.c
index 431003d..271f771 100644 (file)
@@ -29,6 +29,7 @@
 #include <ctype.h>
 #include <termios.h>
 #include <unistd.h>
+#include <sys/time.h>
 
 /* Application header files */
 #include "io.h"
@@ -160,7 +161,7 @@ int term_read( )
     FD_ZERO( &rfds );
     FD_SET( 0, &rfds );
     tv.tv_sec = 0;
-    tv.tv_usec = 250;
+    tv.tv_usec = 40000;
     n = select( 1, &rfds, NULL, NULL, &tv );
     if (n > 0) 
        {