--- libelf/elf.h-orig +++ libelf/elf.h @@ -21,7 +21,9 @@ #include -__BEGIN_DECLS +#ifdef __cplusplus +extern "C" { +#endif /* Standard ELF types. */ @@ -3553,6 +3555,8 @@ #define R_TILEGX_NUM 130 -__END_DECLS +#ifdef __cplusplus +} +#endif #endif /* elf.h */