--- a/dutil.h
+++ b/dutil.h
@@ -326,7 +326,7 @@
 
 Elf_Scn *elf_section_by_idx(Elf *elf, GElf_Shdr *shp, int idx);
 
-#ifndef SHT_GNU_ATTRIBUTES
+#if 0
 /* Just a way to check if we're using an old elfutils version */
 static inline int elf_getshdrstrndx(Elf *elf, size_t *dst)
 {
