aboutsummaryrefslogtreecommitdiff
path: root/lib/formdata.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/formdata.c')
-rw-r--r--lib/formdata.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/formdata.c b/lib/formdata.c
index ecfb0e559..31d14feb4 100644
--- a/lib/formdata.c
+++ b/lib/formdata.c
@@ -118,6 +118,9 @@ Content-Disposition: form-data; name="FILECONTENT"
#include <time.h>
+#ifndef CURL_OLDSTYLE
+#define CURL_OLDSTYLE 1 /* enable deprecated prototype for curl_formparse */
+#endif
#include <curl/curl.h>
#include "formdata.h"