diff options
Diffstat (limited to 'src/testcurl/daemontest_postform.c')
-rw-r--r-- | src/testcurl/daemontest_postform.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/testcurl/daemontest_postform.c b/src/testcurl/daemontest_postform.c index fac4b254..477713c3 100644 --- a/src/testcurl/daemontest_postform.c +++ b/src/testcurl/daemontest_postform.c | |||
@@ -25,6 +25,7 @@ | |||
25 | */ | 25 | */ |
26 | 26 | ||
27 | #include "MHD_config.h" | 27 | #include "MHD_config.h" |
28 | #include "platform.h" | ||
28 | #include <curl/curl.h> | 29 | #include <curl/curl.h> |
29 | #include <microhttpd.h> | 30 | #include <microhttpd.h> |
30 | #include <stdlib.h> | 31 | #include <stdlib.h> |
@@ -68,7 +69,7 @@ post_iterator (void *cls, | |||
68 | const char *filename, | 69 | const char *filename, |
69 | const char *content_type, | 70 | const char *content_type, |
70 | const char *transfer_encoding, | 71 | const char *transfer_encoding, |
71 | const char *value, size_t off, size_t size) | 72 | const char *value, uint64_t off, size_t size) |
72 | { | 73 | { |
73 | int *eok = cls; | 74 | int *eok = cls; |
74 | 75 | ||
@@ -90,7 +91,7 @@ ahc_echo (void *cls, | |||
90 | const char *url, | 91 | const char *url, |
91 | const char *method, | 92 | const char *method, |
92 | const char *version, | 93 | const char *version, |
93 | const char *upload_data, unsigned int *upload_data_size, | 94 | const char *upload_data, size_t *upload_data_size, |
94 | void **unused) | 95 | void **unused) |
95 | { | 96 | { |
96 | static int eok; | 97 | static int eok; |