summaryrefslogtreecommitdiffstats
path: root/dwflpp.h
diff options
context:
space:
mode:
Diffstat (limited to 'dwflpp.h')
-rw-r--r--dwflpp.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/dwflpp.h b/dwflpp.h
index 7260c417..ec2fc2b9 100644
--- a/dwflpp.h
+++ b/dwflpp.h
@@ -31,6 +31,9 @@ extern "C" {
// Always use newer name, old name is deprecated in 0.142.
#define elf_getshdrstrndx elf_getshstrndx
#endif
+#else
+ // Really old elfutils version, definitely redefine to use old name.
+ #define elf_getshdrstrndx elf_getshstrndx
#endif
#include <regex.h>
}