diff options
Diffstat (limited to 'capture_ifinfo.h')
-rw-r--r-- | capture_ifinfo.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/capture_ifinfo.h b/capture_ifinfo.h index ea18085bb7..e96dfb6cfb 100644 --- a/capture_ifinfo.h +++ b/capture_ifinfo.h @@ -25,6 +25,10 @@ #ifndef __CAPTURE_IFINFO_H__ #define __CAPTURE_IFINFO_H__ +#ifdef __cplusplus +extern "C" { +#endif /* __cplusplus */ + /* * The list of interfaces returned by "get_interface_list()" is * a list of these structures. @@ -93,4 +97,8 @@ void free_if_capabilities(if_capabilities_t *caps); void add_interface_to_remote_list(if_info_t *if_info); +#ifdef __cplusplus +} +#endif /* __cplusplus */ + #endif /* __CAPTURE_IFINFO_H__ */ |