aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIan Lance Taylor <ian@airs.com>2009-10-12 06:02:06 +0000
committerIan Lance Taylor <ian@airs.com>2009-10-12 06:02:06 +0000
commit1c7814eddb5055274e4fba5a2910a18ab1175ef4 (patch)
treeaaf35d7d3fd74250e31cbfd8737209e1ada06571
parent2f8132f3e55f8f35f74192b80fe4f39ce3c851ff (diff)
downloadgdb-1c7814eddb5055274e4fba5a2910a18ab1175ef4.zip
gdb-1c7814eddb5055274e4fba5a2910a18ab1175ef4.tar.gz
gdb-1c7814eddb5055274e4fba5a2910a18ab1175ef4.tar.bz2
* plugin.cc: Include "gold.h" before other header files.
-rw-r--r--gold/ChangeLog4
-rw-r--r--gold/plugin.cc3
2 files changed, 6 insertions, 1 deletions
diff --git a/gold/ChangeLog b/gold/ChangeLog
index b39634d..8f0b895 100644
--- a/gold/ChangeLog
+++ b/gold/ChangeLog
@@ -1,3 +1,7 @@
+2009-10-11 Ian Lance Taylor <iant@google.com>
+
+ * plugin.cc: Include "gold.h" before other header files.
+
2009-10-10 Chris Demetriou <cgd@google.com>
* options.h (Input_file_argument::Input_file_type): New enum.
diff --git a/gold/plugin.cc b/gold/plugin.cc
index 6170d74..ed334ab 100644
--- a/gold/plugin.cc
+++ b/gold/plugin.cc
@@ -20,6 +20,8 @@
// Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston,
// MA 02110-1301, USA.
+#include "gold.h"
+
#include <cstdio>
#include <cstdarg>
#include <cstring>
@@ -30,7 +32,6 @@
#include <dlfcn.h>
#endif
-#include "gold.h"
#include "parameters.h"
#include "errors.h"
#include "fileread.h"