summaryrefslogtreecommitdiff
path: root/openbsd-compat/fnmatch.c
diff options
context:
space:
mode:
Diffstat (limited to 'openbsd-compat/fnmatch.c')
-rw-r--r--openbsd-compat/fnmatch.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/openbsd-compat/fnmatch.c b/openbsd-compat/fnmatch.c
index 88d5dbc3c..da841d203 100644
--- a/openbsd-compat/fnmatch.c
+++ b/openbsd-compat/fnmatch.c
@@ -85,6 +85,11 @@
85 * path delimiter must be aware that 0x5C is NOT unique within SHIFT-JIS. 85 * path delimiter must be aware that 0x5C is NOT unique within SHIFT-JIS.
86 */ 86 */
87 87
88/* OPENBSD ORIGINAL: lib/libc/gen/fnmatch.c */
89
90#include "includes.h"
91#ifndef HAVE_FNMATCH
92
88#include <fnmatch.h> 93#include <fnmatch.h>
89#include <string.h> 94#include <string.h>
90#include <ctype.h> 95#include <ctype.h>
@@ -487,3 +492,4 @@ firstsegment:
487 /* Pattern didn't match to the end of string. */ 492 /* Pattern didn't match to the end of string. */
488 return FNM_NOMATCH; 493 return FNM_NOMATCH;
489} 494}
495#endif /* HAVE_FNMATCH */