Message ID | 1428346691-14894-5-git-send-email-syuu@cloudius-systems.com (mailing list archive) |
---|---|
State | Changes Requested, archived |
Headers | show |
diff --git a/lib/librte_eal/common/eal_private.h b/lib/librte_eal/common/eal_private.h index 4acf5a0..80b3d44 100644 --- a/lib/librte_eal/common/eal_private.h +++ b/lib/librte_eal/common/eal_private.h @@ -34,6 +34,10 @@ #ifndef _EAL_PRIVATE_H_ #define _EAL_PRIVATE_H_ +#ifdef __cplusplus +extern "C" { +#endif + #include <stdio.h> /** @@ -232,4 +236,8 @@ int rte_eal_dev_init(void); */ int rte_eal_check_module(const char *module_name); +#ifdef __cplusplus +} +#endif + #endif /* _EAL_PRIVATE_H_ */
This is required to link with OSv EAL. Signed-off-by: Takuya ASADA <syuu@cloudius-systems.com> --- lib/librte_eal/common/eal_private.h | 8 ++++++++ 1 file changed, 8 insertions(+)