diff options
Diffstat (limited to 'zebra/kernel_netlink.h')
| -rw-r--r-- | zebra/kernel_netlink.h | 8 | 
1 files changed, 8 insertions, 0 deletions
diff --git a/zebra/kernel_netlink.h b/zebra/kernel_netlink.h index 9918729eb6..076ca5c5c7 100644 --- a/zebra/kernel_netlink.h +++ b/zebra/kernel_netlink.h @@ -21,6 +21,10 @@  #ifndef _ZEBRA_KERNEL_NETLINK_H  #define _ZEBRA_KERNEL_NETLINK_H +#ifdef __cplusplus +extern "C" { +#endif +  #ifdef HAVE_NETLINK  #define NL_RCV_PKT_BUF_SIZE     32768 @@ -68,4 +72,8 @@ extern int netlink_request(struct nlsock *nl, struct nlmsghdr *n);  #endif /* HAVE_NETLINK */ +#ifdef __cplusplus +} +#endif +  #endif /* _ZEBRA_KERNEL_NETLINK_H */  | 
