Signed-off-by: Jan Engelhardt <jengelh@xxxxxxxxxx> --- include/libmnl/libmnl.h | 8 ++++++++ 1 files changed, 8 insertions(+), 0 deletions(-) diff --git a/include/libmnl/libmnl.h b/include/libmnl/libmnl.h index d766183..b64306a 100644 --- a/include/libmnl/libmnl.h +++ b/include/libmnl/libmnl.h @@ -6,6 +6,10 @@ #include <sys/socket.h> /* for sa_family_t */ #include <linux/netlink.h> +#ifdef __cplusplus +extern "C" { +#endif + /* * Netlink socket API */ @@ -156,4 +160,8 @@ extern int mnl_cb_run2(const void *buf, size_t numbytes, unsigned int seq, #define SOL_NETLINK 270 #endif +#ifdef __cplusplus +} /* extern "C" */ +#endif + #endif -- 1.7.1 -- To unsubscribe from this list: send the line "unsubscribe netfilter-devel" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html