diff options
author | Daniel Stenberg <daniel@haxx.se> | 2002-06-11 11:13:01 +0000 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2002-06-11 11:13:01 +0000 |
commit | 08ef208fb78fb2eabc5cec08c23e74e251eac898 (patch) | |
tree | c52fa36be6197717f9ab12031a623091d785b51c /lib/formdata.c | |
parent | 8c45e2a6415a3a12231b88cd2791141ec809d163 (diff) | |
download | curl-08ef208fb78fb2eabc5cec08c23e74e251eac898.tar.gz |
added disable-[protocol] support, largely provided by Miklos Nemeth
Diffstat (limited to 'lib/formdata.c')
-rw-r--r-- | lib/formdata.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/formdata.c b/lib/formdata.c index a5d367cd5..5c1575e57 100644 --- a/lib/formdata.c +++ b/lib/formdata.c @@ -109,6 +109,8 @@ Content-Disposition: form-data; name="FILECONTENT" #include "setup.h" +#ifndef CURL_DISABLE_HTTP + #include <stdio.h> #include <stdlib.h> #include <string.h> @@ -1505,6 +1507,8 @@ int main(int argc, char **argv) #endif +#endif /* CURL_DISABLE_HTTP */ + /* * local variables: * eval: (load-file "../curl-mode.el") |