mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2024-11-26 22:31:05 +00:00
fix missing prototype for fnmatch on some systems
This commit is contained in:
parent
b5ed8a7ddb
commit
adbb59c5dd
1 changed files with 9 additions and 1 deletions
|
@ -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"
|
||||
|
|
Loading…
Reference in a new issue