This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
[PATCH 8/9] Include coff/sym.h from coff/ecoff.h
- From: Tom Tromey <tom at tromey dot com>
- To: gdb-patches at sourceware dot org
- Cc: Tom Tromey <tom at tromey dot com>
- Date: Tue, 22 Jan 2019 01:04:44 -0700
- Subject: [PATCH 8/9] Include coff/sym.h from coff/ecoff.h
- References: <20190122080445.32658-1-tom@tromey.com>
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-21 Tom Tromey <tom@tromey.com>
* coff/ecoff.h: Include coff/sym.h.
---
include/ChangeLog | 4 ++++
include/coff/ecoff.h | 2 ++
2 files changed, 6 insertions(+)
diff --git a/include/coff/ecoff.h b/include/coff/ecoff.h
index 0ea66c52aa..75cf3ead14 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? */
--
2.17.2