From 9121ecc3eb604d9773640aef572d9098cb93087e Mon Sep 17 00:00:00 2001 From: Dan Dennedy Date: Wed, 12 Jun 2013 23:22:15 -0700 Subject: [PATCH] A minor win32 build fix noticed on webvfx/qmelt. --- src/melt/io.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/melt/io.c b/src/melt/io.c index 483952a9..46b992b9 100644 --- a/src/melt/io.c +++ b/src/melt/io.c @@ -32,6 +32,8 @@ #else // MinGW defines struct timespec in pthread.h #include +// for nanosleep() +#include #endif #include #include @@ -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. -- 2.39.2