elfutils: update to 0.182
[openwrt/openwrt.git] / package / libs / elfutils / patches / 110-no-cdefs.patch
index f95625a91310ef531da629a75cf99b9c069d629b..d66f1e924f0ec0949f54825436ca69bc61106773 100644 (file)
@@ -24,28 +24,3 @@ Signed-off-by: Rosen Penev <rosenp@gmail.com>
  
  #include <system.h>
  
---- a/libelf/elf.h
-+++ b/libelf/elf.h
-@@ -19,9 +19,9 @@
- #ifndef _ELF_H
- #define       _ELF_H 1
--#include <features.h>
--
--__BEGIN_DECLS
-+#ifdef __cplusplus
-+extern "C" {
-+#endif
- /* Standard ELF types.  */
-@@ -4103,6 +4103,8 @@ enum
- #define R_ARC_TLS_LE_S9               0x4a
- #define R_ARC_TLS_LE_32               0x4b
--__END_DECLS
-+#ifdef __cplusplus
-+}
-+#endif
- #endif        /* elf.h */