X-Git-Url: https://git.gag.com/?a=blobdiff_plain;f=compat%2Ffnmatch.c;h=7ea5dc5defecb4a91bf507d750436eb5db8e5eef;hb=e8db7f6eea9b35527ddd4532affabd18a30549b5;hp=54a31421338e7976c01850512f4dde9f7b317353;hpb=98b9fd63cd28a3636a7cd24641b8f497eaadcd50;p=debian%2Fsudo diff --git a/compat/fnmatch.c b/compat/fnmatch.c index 54a3142..7ea5dc5 100644 --- a/compat/fnmatch.c +++ b/compat/fnmatch.c @@ -71,6 +71,8 @@ #include +#ifndef HAVE_FNMATCH + #include #include @@ -472,3 +474,4 @@ firstsegment: /* pattern didn't match to the end of string */ return FNM_NOMATCH; } +#endif /* HAVE_FNMATCH */