diff --git a/lib/formdata.c b/lib/formdata.c index 3260928f6..2e76994a1 100644 --- a/lib/formdata.c +++ b/lib/formdata.c @@ -24,7 +24,7 @@ #include -#if !defined(CURL_DISABLE_HTTP) || defined(USE_SSLEAY) +#ifndef CURL_DISABLE_HTTP #if defined(HAVE_LIBGEN_H) && defined(HAVE_BASENAME) #include @@ -43,10 +43,6 @@ /* The last #include file should be: */ #include "memdebug.h" -#endif /* !defined(CURL_DISABLE_HTTP) || defined(USE_SSLEAY) */ - -#ifndef CURL_DISABLE_HTTP - #ifndef HAVE_BASENAME static char *Curl_basename(char *path); #define basename(x) Curl_basename((x))