Skip to content

Commit

Permalink
A minor win32 build fix noticed on webvfx/qmelt.
Browse files Browse the repository at this point in the history
  • Loading branch information
ddennedy committed Jun 13, 2013
1 parent 204464d commit 9121ecc
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/melt/io.c
Original file line number Diff line number Diff line change
Expand Up @@ -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>
Expand Down Expand Up @@ -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.
Expand Down

0 comments on commit 9121ecc

Please sign in to comment.