fix missing prototype for fnmatch on some systems

This commit is contained in:
Bill Currie 2002-03-12 17:36:17 +00:00
parent b5ed8a7ddb
commit adbb59c5dd

View file

@ -38,7 +38,15 @@ static const char rcsid[] =
# include <strings.h>
#endif
#include "fnmatch.h"
#ifdef HAVE_FNMATCH_H
# define model_t sunmodel_t
# include <fnmatch.h>
# undef model_t
#else
# ifdef WIN32
# include "fnmatch.h"
# endif
#endif
#include "QF/progs.h"
#include "QF/va.h"