aboutsummaryrefslogtreecommitdiff
path: root/lib/formdata.c
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2004-01-29 13:56:45 +0000
committerDaniel Stenberg <daniel@haxx.se>2004-01-29 13:56:45 +0000
commit4d17d6876e4b2f08380812c4ec113073b0a14639 (patch)
tree7283f07518be4c7250d72ac89c38729563ffa642 /lib/formdata.c
parent0d6236f7e10468f75d09796ba9640c9054ab1f04 (diff)
Dan Fandrich's cleanup patch to make pedantic compiler options cause less
warnings. Minor edits by me.
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"