diff options
Diffstat (limited to 'experimental/elfutils/musl-cdefs.patch')
-rw-r--r-- | experimental/elfutils/musl-cdefs.patch | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/experimental/elfutils/musl-cdefs.patch b/experimental/elfutils/musl-cdefs.patch new file mode 100644 index 000000000..b74561f46 --- /dev/null +++ b/experimental/elfutils/musl-cdefs.patch @@ -0,0 +1,23 @@ +--- 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 <features.h> + +-__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 */ |