From c46bd437e2cec73c4f8691662aefcbe0a92d87d3 Mon Sep 17 00:00:00 2001 From: Alexey Plotnik Date: Sat, 6 Aug 2016 19:59:15 +1000 Subject: [PATCH] inlucde: add extern "C" --- include/uv_link_t.h | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/include/uv_link_t.h b/include/uv_link_t.h index 9c5876d..833fc16 100644 --- a/include/uv_link_t.h +++ b/include/uv_link_t.h @@ -3,6 +3,10 @@ #include "uv.h" +#ifdef __cplusplus +extern "C" { +#endif /* __cplusplus */ + typedef struct uv_link_s uv_link_t; typedef struct uv_link_methods_s uv_link_methods_t; typedef struct uv_link_source_s uv_link_source_t; @@ -187,4 +191,8 @@ void uv_link_default_read_cb_override(uv_link_t* link, ssize_t nread, const uv_buf_t* buf); +#ifdef __cplusplus +} +#endif /* __cplusplus */ + #endif /* INCLUDE_UV_LINK_H_ */