summaryrefslogtreecommitdiffstats
path: root/libmpdemux
diff options
context:
space:
mode:
authorfaust3 <faust3@b3059339-0415-0410-9bf9-f77b7e298cf2>2003-04-25 10:20:15 +0000
committerfaust3 <faust3@b3059339-0415-0410-9bf9-f77b7e298cf2>2003-04-25 10:20:15 +0000
commitb80199e5dc8297b9c3ae353e6edf3834ff83148e (patch)
treecc802bc75e7718d4e2388dab931638cb6cf0654b /libmpdemux
parent0015a97826319e469e1614932749ab315f28f0fb (diff)
downloadmpv-b80199e5dc8297b9c3ae353e6edf3834ff83148e.tar.bz2
mpv-b80199e5dc8297b9c3ae353e6edf3834ff83148e.tar.xz
enable mf support on mingw32
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@9985 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'libmpdemux')
-rw-r--r--libmpdemux/mf.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/libmpdemux/mf.c b/libmpdemux/mf.c
index 18ec48e623..a033557777 100644
--- a/libmpdemux/mf.c
+++ b/libmpdemux/mf.c
@@ -13,6 +13,8 @@
#ifdef HAVE_GLOB
#include <glob.h>
+#else
+#include "../osdep/glob.h"
#endif
#include "mp_msg.h"
@@ -27,7 +29,7 @@ float mf_fps = 25.0;
char * mf_type = NULL; //"jpg";
mf_t* open_mf(char * filename){
-#ifdef HAVE_GLOB
+#if defined(HAVE_GLOB) || defined(__MINGW32__)
glob_t gg;
struct stat fs;
int i;