diff options
Diffstat (limited to 'src/testcurl/test_get_sendfile.c')
-rw-r--r-- | src/testcurl/test_get_sendfile.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/testcurl/test_get_sendfile.c b/src/testcurl/test_get_sendfile.c index 7f85458c..d073fee3 100644 --- a/src/testcurl/test_get_sendfile.c +++ b/src/testcurl/test_get_sendfile.c | |||
@@ -26,6 +26,7 @@ | |||
26 | 26 | ||
27 | #include "MHD_config.h" | 27 | #include "MHD_config.h" |
28 | #include "platform.h" | 28 | #include "platform.h" |
29 | #include "platform_interface.h" | ||
29 | #include <curl/curl.h> | 30 | #include <curl/curl.h> |
30 | #include <microhttpd.h> | 31 | #include <microhttpd.h> |
31 | #include <stdlib.h> | 32 | #include <stdlib.h> |
@@ -93,7 +94,7 @@ ahc_echo (void *cls, | |||
93 | { | 94 | { |
94 | fprintf (stderr, "Failed to open `%s': %s\n", | 95 | fprintf (stderr, "Failed to open `%s': %s\n", |
95 | sourcefile, | 96 | sourcefile, |
96 | STRERROR (errno)); | 97 | MHD_strerror_ (errno)); |
97 | exit (1); | 98 | exit (1); |
98 | } | 99 | } |
99 | response = MHD_create_response_from_fd (strlen (TESTSTR), fd); | 100 | response = MHD_create_response_from_fd (strlen (TESTSTR), fd); |