summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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;