Commits

Anonymous committed e07168f

fix compilation on Solaris 10

  • Participants
  • Parent commits 4462e2b

Comments (0)

Files changed (1)

libdwarf/dwarf_dump.c

 		return "Section group.";
 	case SHT_SYMTAB_SHNDX:
 		return "Section indexes (see SHN_XINDEX).";
+#ifdef SHT_GNU_verdef
 	case SHT_GNU_verdef:
 		return "Symbol versions provided";
+#endif
+#ifdef SHT_GNU_verneed
 	case SHT_GNU_verneed:
 		return "Symbol versions required";
+#endif
+#ifdef SHT_GNU_versym
 	case SHT_GNU_versym:
 		return "Symbol version table";
+#endif
 #ifdef SHT_AMD64_UNWIND
 	case SHT_AMD64_UNWIND:
 		return "AMD64 unwind";