--- cabextract/fnmatch.c.orig 2005-01-22 06:16:14.000000000 +0000 +++ cabextract/fnmatch.c 2005-01-22 06:20:56.000000000 +0000 @@ -45,7 +45,6 @@ #include #include -#include /* Comment out all this code if we are using the GNU C Library, and are not actually compiling the library itself. This code is part of the GNU C @@ -55,7 +54,7 @@ program understand `configure --with-gnu-libc' and omit the object files, it is simpler to just do this in the source for each such file. */ -#if defined (_LIBC) || !defined (__GNU_LIBRARY__) +//#if defined (_LIBC) || !defined (__GNU_LIBRARY__) #if !defined(__GNU_LIBRARY__) && !defined(STDC_HEADERS) @@ -65,7 +64,7 @@ /* Match STRING against the filename pattern PATTERN, returning zero if it matches, nonzero if not. */ int -fnmatch (pattern, string, flags) +rpl_fnmatch (pattern, string, flags) const char *pattern; const char *string; int flags; @@ -73,7 +72,7 @@ register const char *p = pattern, *n = string; register unsigned char c; -#define FOLD(c) ((flags & FNM_CASEFOLD) ? TOLOWER (c) : (c)) +#define FOLD(c) ((flags & FNM_CASEFOLD) ? tolower (c) : (c)) while ((c = *p++) != '\0') { @@ -220,4 +219,4 @@ return FNM_NOMATCH; } -#endif /* _LIBC or not __GNU_LIBRARY__. */ +//#endif /* _LIBC or not __GNU_LIBRARY__. */