Include coff/sym.h from coff/ecoff.h
authorTom Tromey <tom@tromey.com>
Mon, 21 Jan 2019 21:50:24 +0000 (14:50 -0700)
committerTom Tromey <tom@tromey.com>
Wed, 23 Jan 2019 03:35:59 +0000 (20:35 -0700)
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.

include/ChangeLog
include/coff/ecoff.h

index af47bd9..6263644 100644 (file)
@@ -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.
index 0ea66c5..75cf3ea 100644 (file)
@@ -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?  */