aboutsummaryrefslogtreecommitdiff
path: root/gold
diff options
context:
space:
mode:
Diffstat (limited to 'gold')
-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"