diff options
Diffstat (limited to 'src/gns/gnunet-bcd.c')
-rw-r--r-- | src/gns/gnunet-bcd.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/gns/gnunet-bcd.c b/src/gns/gnunet-bcd.c index d6de86fa0..6ceff4a9a 100644 --- a/src/gns/gnunet-bcd.c +++ b/src/gns/gnunet-bcd.c | |||
@@ -27,6 +27,7 @@ | |||
27 | #include "platform.h" | 27 | #include "platform.h" |
28 | #include <microhttpd.h> | 28 | #include <microhttpd.h> |
29 | #include "gnunet_util_lib.h" | 29 | #include "gnunet_util_lib.h" |
30 | #include "gnunet_mhd_compat.h" | ||
30 | 31 | ||
31 | /** | 32 | /** |
32 | * Error page to display if submitted GNS key is invalid. | 33 | * Error page to display if submitted GNS key is invalid. |
@@ -91,7 +92,7 @@ struct Entry | |||
91 | /** | 92 | /** |
92 | * Main request handler. | 93 | * Main request handler. |
93 | */ | 94 | */ |
94 | static int | 95 | static MHD_RESULT |
95 | access_handler_callback (void *cls, | 96 | access_handler_callback (void *cls, |
96 | struct MHD_Connection *connection, | 97 | struct MHD_Connection *connection, |
97 | const char *url, | 98 | const char *url, |
@@ -153,7 +154,7 @@ access_handler_callback (void *cls, | |||
153 | struct stat st; | 154 | struct stat st; |
154 | struct MHD_Response *response; | 155 | struct MHD_Response *response; |
155 | int fd; | 156 | int fd; |
156 | int ret; | 157 | MHD_RESULT ret; |
157 | 158 | ||
158 | const char *gpg_fp = MHD_lookup_connection_value (connection, | 159 | const char *gpg_fp = MHD_lookup_connection_value (connection, |
159 | MHD_GET_ARGUMENT_KIND, | 160 | MHD_GET_ARGUMENT_KIND, |