diff options
Diffstat (limited to 'src/testzzuf/daemontest_postform.c')
-rw-r--r-- | src/testzzuf/daemontest_postform.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/testzzuf/daemontest_postform.c b/src/testzzuf/daemontest_postform.c index 48ddcc70..817b0bc7 100644 --- a/src/testzzuf/daemontest_postform.c +++ b/src/testzzuf/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> |
@@ -71,7 +72,7 @@ post_iterator (void *cls, | |||
71 | const char *filename, | 72 | const char *filename, |
72 | const char *content_type, | 73 | const char *content_type, |
73 | const char *transfer_encoding, | 74 | const char *transfer_encoding, |
74 | const char *value, size_t off, size_t size) | 75 | const char *value, uint64_t off, size_t size) |
75 | { | 76 | { |
76 | int *eok = cls; | 77 | int *eok = cls; |
77 | 78 | ||
@@ -95,7 +96,7 @@ ahc_echo (void *cls, | |||
95 | const char *url, | 96 | const char *url, |
96 | const char *method, | 97 | const char *method, |
97 | const char *version, | 98 | const char *version, |
98 | const char *upload_data, unsigned int *upload_data_size, | 99 | const char *upload_data, size_t *upload_data_size, |
99 | void **unused) | 100 | void **unused) |
100 | { | 101 | { |
101 | static int eok; | 102 | static int eok; |