From: Julian Seward Date: Sun, 24 Apr 2016 17:11:44 +0000 (+0000) Subject: Fix compilation breakage on platforms that do already have a definition X-Git-Tag: svn/VALGRIND_3_12_0~154 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=abf0d0a78db5960d300566d03025192497a65a2e;p=thirdparty%2Fvalgrind.git Fix compilation breakage on platforms that do already have a definition for Elf{32,64}_Chdr. This is fallout from r15868. That commit provided a configure test, but the resulting config.h was not included here, causing the test results to be ignored. git-svn-id: svn://svn.valgrind.org/valgrind/trunk@15869 --- diff --git a/coregrind/m_debuginfo/readelf.c b/coregrind/m_debuginfo/readelf.c index c3731d5e99..60ab3cb6ad 100644 --- a/coregrind/m_debuginfo/readelf.c +++ b/coregrind/m_debuginfo/readelf.c @@ -51,6 +51,7 @@ #include "priv_readdwarf.h" /* 'cos ELF contains DWARF */ #include "priv_readdwarf3.h" #include "priv_readexidx.h" +#include "config.h" /* --- !!! --- EXTERNAL HEADERS start --- !!! --- */ #include