diff options
Diffstat (limited to 'src/testcurl/daemontest_post.c')
-rw-r--r-- | src/testcurl/daemontest_post.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/testcurl/daemontest_post.c b/src/testcurl/daemontest_post.c index 7016334f..0ef2bbb7 100644 --- a/src/testcurl/daemontest_post.c +++ b/src/testcurl/daemontest_post.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> |
@@ -70,7 +71,7 @@ post_iterator (void *cls, | |||
70 | const char *filename, | 71 | const char *filename, |
71 | const char *content_type, | 72 | const char *content_type, |
72 | const char *transfer_encoding, | 73 | const char *transfer_encoding, |
73 | const char *value, size_t off, size_t size) | 74 | const char *value, uint64_t off, size_t size) |
74 | { | 75 | { |
75 | int *eok = cls; | 76 | int *eok = cls; |
76 | 77 | ||
@@ -89,7 +90,7 @@ ahc_echo (void *cls, | |||
89 | const char *url, | 90 | const char *url, |
90 | const char *method, | 91 | const char *method, |
91 | const char *version, | 92 | const char *version, |
92 | const char *upload_data, unsigned int *upload_data_size, | 93 | const char *upload_data, size_t *upload_data_size, |
93 | void **unused) | 94 | void **unused) |
94 | { | 95 | { |
95 | static int eok; | 96 | static int eok; |