diff options
author | Daniel Stenberg <daniel@haxx.se> | 2019-02-07 11:35:26 +0100 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2019-02-11 11:53:58 +0100 |
commit | 4a659b42c1d1e7be8f53f629b0a9703da3eae812 (patch) | |
tree | 8f080ed2b8a14d79c1b29a83092c8096d6140222 /lib | |
parent | f3c05865087b79efcecbddf8d3102bac77a4dc5d (diff) | |
download | curl-4a659b42c1d1e7be8f53f629b0a9703da3eae812.tar.gz |
fnmatch: disable if FTP is disabledbagder/better-disables
Diffstat (limited to 'lib')
-rw-r--r-- | lib/curl_fnmatch.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/lib/curl_fnmatch.c b/lib/curl_fnmatch.c index fbfd85c43..846ecaec3 100644 --- a/lib/curl_fnmatch.c +++ b/lib/curl_fnmatch.c @@ -5,7 +5,7 @@ * | (__| |_| | _ <| |___ * \___|\___/|_| \_\_____| * - * Copyright (C) 1998 - 2018, Daniel Stenberg, <daniel@haxx.se>, et al. + * Copyright (C) 1998 - 2019, Daniel Stenberg, <daniel@haxx.se>, et al. * * This software is licensed as described in the file COPYING, which * you should have received as part of this distribution. The terms @@ -21,7 +21,7 @@ ***************************************************************************/ #include "curl_setup.h" - +#ifndef CURL_DISABLE_FTP #include <curl/curl.h> #include "curl_fnmatch.h" @@ -394,3 +394,5 @@ int Curl_fnmatch(void *ptr, const char *pattern, const char *string) } #endif + +#endif /* if FTP is disabled */ |