diff options
| -rw-r--r-- | lib/formdata.c | 12 | 
1 files changed, 11 insertions, 1 deletions
| diff --git a/lib/formdata.c b/lib/formdata.c index 49d09786e..36eac7e17 100644 --- a/lib/formdata.c +++ b/lib/formdata.c @@ -1458,4 +1458,14 @@ int main(int argc, char **argv)  #endif -#endif /* CURL_DISABLE_HTTP */ +#else  /* CURL_DISABLE_HTTP */ +CURLFORMcode curl_formadd(struct curl_httppost **httppost, +                          struct curl_httppost **last_post, +                          ...) +{ +  (void)httppost; +  (void)last_post; +  return CURL_FORMADD_DISABLED; +} + +#endif  /* CURL_DISABLE_HTTP */ | 
