diff --git a/lib/roken/resolve.h b/lib/roken/resolve.h index 6ed2dcadd..c2e456a84 100644 --- a/lib/roken/resolve.h +++ b/lib/roken/resolve.h @@ -278,6 +278,10 @@ struct rk_dns_reply{ }; +#ifdef __cplusplus +extern "C" { +#endif + struct dns_reply* ROKEN_LIB_FUNCTION rk_dns_lookup(const char *, const char *); void ROKEN_LIB_FUNCTION @@ -289,4 +293,8 @@ const char *ROKEN_LIB_FUNCTION void ROKEN_LIB_FUNCTION rk_dns_srv_order(struct dns_reply*); +#ifdef __cplusplus +} +#endif + #endif /* __RESOLVE_H__ */