fix more compile errors
authorRudolf Polzer <divverent@xonotic.org>
Fri, 1 Jul 2011 09:41:02 +0000 (11:41 +0200)
committerRudolf Polzer <divverent@xonotic.org>
Fri, 1 Jul 2011 09:41:02 +0000 (11:41 +0200)
libs/filematch.c
libs/filematch.h [moved from include/filematch.h with 100% similarity]

index f3e3ea4..7989cbb 100644 (file)
@@ -1,10 +1,11 @@
-#include "matchpattern.h"
+#include <string.h>
+#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
similarity index 100%
rename from include/filematch.h
rename to libs/filematch.h