From 114175def3d11371b40c8ec8f4a4e6d2ea1f6927 Mon Sep 17 00:00:00 2001 From: Rudolf Polzer Date: Fri, 1 Jul 2011 11:41:02 +0200 Subject: [PATCH] fix more compile errors --- libs/filematch.c | 5 +++-- {include => libs}/filematch.h | 0 2 files changed, 3 insertions(+), 2 deletions(-) rename {include => libs}/filematch.h (100%) diff --git a/libs/filematch.c b/libs/filematch.c index f3e3ea44..7989cbb2 100644 --- a/libs/filematch.c +++ b/libs/filematch.c @@ -1,10 +1,11 @@ -#include "matchpattern.h" +#include +#include "filematch.h" // LordHavoc: some portable directory listing code I wrote for lmp2pcx, now used in darkplaces to load id1/*.pak and such... int matchpattern(const char *in, const char *pattern, int caseinsensitive) { - return matchpattern_with_separator(in, pattern, caseinsensitive, "/\\:", false); + return matchpattern_with_separator(in, pattern, caseinsensitive, "/\\:", 0); } // wildcard_least_one: if true * matches 1 or more characters diff --git a/include/filematch.h b/libs/filematch.h similarity index 100% rename from include/filematch.h rename to libs/filematch.h -- 2.39.2