commit | c09730e518f19613f2f6161e1cfccad058eb20a8 | [log] [tgz] |
---|---|---|
author | Michal Vasko <mvasko@cesnet.cz> | Thu Jan 17 10:07:26 2019 +0100 |
committer | Michal Vasko <mvasko@cesnet.cz> | Thu Jan 17 10:07:26 2019 +0100 |
tree | 39d0de84d1ea71eafd83bb8f3f62d94a5b8dfd60 | |
parent | 2125110e27aeb1fe4e4ef54e924b9fb0531aead7 [diff] [blame] |
build BUGFIX missing C++ include macro Fixes #132
diff --git a/src/session_client_ch.h b/src/session_client_ch.h index c94b42d..800841d 100644 --- a/src/session_client_ch.h +++ b/src/session_client_ch.h
@@ -15,6 +15,10 @@ #ifndef NC_SESSION_CLIENT_CH_H_ #define NC_SESSION_CLIENT_CH_H_ +#ifdef __cplusplus +extern "C" { +#endif + #include <libyang/libyang.h> #include "session.h" @@ -339,4 +343,8 @@ #endif /* NC_ENABLED_TLS */ +#ifdef __cplusplus +} +#endif + #endif /* NC_SESSION_CLIENT_CH_H_ */