Index: Makefile
===================================================================
--- Makefile	(revision 34284)
+++ Makefile	(working copy)
@@ -25,7 +25,6 @@
 
 # local fallbacks for missing operating system features
 OS_FEATURE-$(GETTIMEOFDAY)           += osdep/gettimeofday.c
-OS_FEATURE-$(GLOB_WIN)               += osdep/glob-win.c
 OS_FEATURE-$(MMAP)                   += osdep/mmap-os2.c
 OS_FEATURE-$(SETENV)                 += osdep/setenv.c
 OS_FEATURE-$(SHMEM)                  += osdep/shmem.c
@@ -36,6 +35,7 @@
 SRCS_AUDIO_INPUT-$(ALSA1X)           += stream/ai_alsa1x.c
 SRCS_AUDIO_INPUT-$(ALSA9)            += stream/ai_alsa.c
 SRCS_AUDIO_INPUT-$(OSS)              += stream/ai_oss.c
+SRCS_COMMON-$(GLOB_WIN)              += osdep/glob-win.c
 SRCS_COMMON-$(AUDIO_INPUT)           += $(SRCS_AUDIO_INPUT-yes)
 SRCS_COMMON-$(BITMAP_FONT)           += sub/font_load.c
 SRCS_COMMON-$(CDDA)                  += stream/stream_cdda.c \
Index: configure
===================================================================
--- configure	(revision 34284)
+++ configure	(working copy)
@@ -3891,7 +3891,7 @@
 def_glob='#define HAVE_GLOB 1'
 statement_check glob.h 'glob("filename", 0, 0, 0)' ||
     { glob=no ; def_glob='#undef HAVE_GLOB' ;
-      mingw32 && glob_win=no ; }
+      mingw32 || glob_win=no ; }
 echores "$glob"
 
 
