]> git.sesse.net Git - mlt/commitdiff
A minor win32 build fix noticed on webvfx/qmelt.
authorDan Dennedy <dan@dennedy.org>
Thu, 13 Jun 2013 06:22:15 +0000 (23:22 -0700)
committerDan Dennedy <dan@dennedy.org>
Thu, 13 Jun 2013 06:22:27 +0000 (23:22 -0700)
src/melt/io.c

index 483952a901254a94176bb958ca6ec2bafdac30da..46b992b96c536cc553610ec77c0fd9914cf528d4 100644 (file)
@@ -32,6 +32,8 @@
 #else
 // MinGW defines struct timespec in pthread.h
 #include <pthread.h>
+// for nanosleep()
+#include <framework/mlt_types.h>
 #endif
 #include <unistd.h>
 #include <sys/time.h>
@@ -98,8 +100,10 @@ int *get_int( int *output, int use )
 /** This stores the previous settings
 */
 
+#ifndef WIN32
 static struct termios oldtty;
 static int mode = 0;
+#endif
 
 /** This is called automatically on application exit to restore the 
        previous tty settings.