aboutsummaryrefslogtreecommitdiff
path: root/lib/formdata.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/formdata.c')
-rw-r--r--lib/formdata.c4
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")