projects
/
debian
/
sudo
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Imported Upstream version 1.8.7
[debian/sudo]
/
compat
/
fnmatch.c
diff --git
a/compat/fnmatch.c
b/compat/fnmatch.c
index 54a31421338e7976c01850512f4dde9f7b317353..7ea5dc5defecb4a91bf507d750436eb5db8e5eef 100644
(file)
--- a/
compat/fnmatch.c
+++ b/
compat/fnmatch.c
@@
-71,6
+71,8
@@
#include <config.h>
+#ifndef HAVE_FNMATCH
+
#include <sys/types.h>
#include <stdio.h>
@@
-472,3
+474,4
@@
firstsegment:
/* pattern didn't match to the end of string */
return FNM_NOMATCH;
}
+#endif /* HAVE_FNMATCH */