diff --git a/apps/httpserver_raw/httpd.h b/apps/httpserver_raw/httpd.h index be7e3a3..3962f72 100644 --- a/apps/httpserver_raw/httpd.h +++ b/apps/httpserver_raw/httpd.h @@ -40,6 +40,9 @@ #include "lwip/err.h" #include "lwip/pbuf.h" +#ifdef __cplusplus +extern "C" { +#endif /** Set this to 1 to support CGI */ #ifndef LWIP_HTTPD_CGI @@ -233,4 +236,9 @@ void httpd_post_data_recved(void *connection, u16_t recved_len); void httpd_init(void); + +#ifdef __cplusplus +} +#endif + #endif /* LWIP_HTTPD_H */