--- elfutils-0.176/libelf/elf.h 2019-02-15 10:46:47.000000000 -0500 +++ elfutils-0.176/libelf/elf.h 2019-07-18 01:52:14.789891340 -0400 @@ -21,7 +21,9 @@ #include -__BEGIN_DECLS +#ifdef __cplusplus +extern "C" { +#endif /* Standard ELF types. */ @@ -3915,6 +3917,8 @@ enum #define R_METAG_TLS_LE_HI16 60 #define R_METAG_TLS_LE_LO16 61 -__END_DECLS +#ifdef __cplusplus +} +#endif #endif /* elf.h */