diff --git a/inc/webclient.h b/inc/webclient.h index d995396..c32dbf6 100644 --- a/inc/webclient.h +++ b/inc/webclient.h @@ -23,6 +23,10 @@ #include #endif +#ifdef __cplusplus +extern "C" { +#endif + #undef DBG_SECTION_NAME #undef DBG_LEVEL #undef DBG_COLOR @@ -147,4 +151,8 @@ int webclient_get_file(const char *URI, const char *filename); int webclient_post_file(const char *URI, const char *filename, const char *form_data); #endif +#ifdef __cplusplus + } +#endif + #endif