diff options
Diffstat (limited to 'libs/libcurl/include/curl/header.h')
-rw-r--r-- | libs/libcurl/include/curl/header.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/libs/libcurl/include/curl/header.h b/libs/libcurl/include/curl/header.h index 6af29c0c0a..1598c6f113 100644 --- a/libs/libcurl/include/curl/header.h +++ b/libs/libcurl/include/curl/header.h @@ -24,6 +24,10 @@ * ***************************************************************************/ +#ifdef __cplusplus +extern "C" { +#endif + struct curl_header { char *name; /* this might not use the same case */ char *value; @@ -63,4 +67,8 @@ CURL_EXTERN struct curl_header *curl_easy_nextheader(CURL *easy, int request, struct curl_header *prev); +#ifdef __cplusplus +} /* end of extern "C" */ +#endif + #endif /* CURLINC_HEADER_H */ |