summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom Tromey <tom@tromey.com>2019-01-21 14:50:24 -0700
committerTom Tromey <tom@tromey.com>2019-01-22 20:35:59 -0700
commit71ba91e1c0732e203ba465a2196caa45aa8b2179 (patch)
treed9003763b992f92820a46575db08deaf335f185e
parent93cc1d53f545e84c279c890c6309f3feddd39212 (diff)
downloadbinutils-gdb-71ba91e1c0732e203ba465a2196caa45aa8b2179.tar.gz
Include coff/sym.h from coff/ecoff.h
coff/ecoff.h refers to some names defined in coff/sym.h. Include the latter from the former, so that users of the header don't need to know this detail. 2019-01-22 Tom Tromey <tom@tromey.com> * coff/ecoff.h: Include coff/sym.h.
-rw-r--r--include/ChangeLog4
-rw-r--r--include/coff/ecoff.h2
2 files changed, 6 insertions, 0 deletions
diff --git a/include/ChangeLog b/include/ChangeLog
index af47bd9f2bc..6263644c8ea 100644
--- a/include/ChangeLog
+++ b/include/ChangeLog
@@ -1,3 +1,7 @@
+2019-01-22 Tom Tromey <tom@tromey.com>
+
+ * coff/ecoff.h: Include coff/sym.h.
+
2018-06-24 Nick Clifton <nickc@redhat.com>
2.32 branch created.
diff --git a/include/coff/ecoff.h b/include/coff/ecoff.h
index 0ea66c52aa0..75cf3ead145 100644
--- a/include/coff/ecoff.h
+++ b/include/coff/ecoff.h
@@ -22,6 +22,8 @@
#ifndef ECOFF_H
#define ECOFF_H
+#include "coff/sym.h"
+
/* Mips magic numbers used in filehdr. MIPS_MAGIC_LITTLE is used on
little endian machines. MIPS_MAGIC_BIG is used on big endian
machines. Where is MIPS_MAGIC_1 from? */