diff --git a/include/win32/vc/config.h b/include/win32/vc/config.h index e9933b9..8df744d 100644 --- a/include/win32/vc/config.h +++ b/include/win32/vc/config.h @@ -251,6 +251,9 @@ /* Define if you have the m library (-lm). */ #undef HAVE_LIBM +/* Define if dirent.h is in your include path somewhere */ +#define HAVE_FNMATCH_H 1 + /* Define if you want the QSG standards */ #define QSG_VERSION "1" diff --git a/source/fnmatch.c b/source/fnmatch.c index 5e7206e..da2c6a5 100644 --- a/source/fnmatch.c +++ b/source/fnmatch.c @@ -35,7 +35,7 @@ #include #include -#include "win32/fnmatch.h" +#include "fnmatch.h" /* Comment out all this code if we are using the GNU C Library, and are not diff --git a/source/quakefs.c b/source/quakefs.c index 9e89e98..5914404 100644 --- a/source/quakefs.c +++ b/source/quakefs.c @@ -55,9 +55,7 @@ #include #ifdef HAVE_FNMATCH_H -# include -#else -# include "win32/fnmatch.h" +#include #endif #ifdef WIN32