summaryrefslogtreecommitdiff
path: root/tools/gold
diff options
context:
space:
mode:
authorDuncan Sands <baldrick@free.fr>2009-10-22 16:03:32 +0000
committerDuncan Sands <baldrick@free.fr>2009-10-22 16:03:32 +0000
commit09b5d90429258f92f5e5ac98411a71460bcd9230 (patch)
treec679ba048a8d7acac9a17b2be6d93c98ccdfed4a /tools/gold
parent71e0b7c560200a87ea49080f581153f9a2c9db72 (diff)
downloadllvm-09b5d90429258f92f5e5ac98411a71460bcd9230.tar.gz
llvm-09b5d90429258f92f5e5ac98411a71460bcd9230.tar.bz2
llvm-09b5d90429258f92f5e5ac98411a71460bcd9230.tar.xz
Include config.h in order to have HAVE_STDINT_H be defined.
In the latest binutils the plugin-api.h needs this - without it the LLVM gold plugin fails to compile. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@84861 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'tools/gold')
-rw-r--r--tools/gold/gold-plugin.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/gold/gold-plugin.cpp b/tools/gold/gold-plugin.cpp
index 6520617c81..b1562d1f51 100644
--- a/tools/gold/gold-plugin.cpp
+++ b/tools/gold/gold-plugin.cpp
@@ -12,6 +12,7 @@
//
//===----------------------------------------------------------------------===//
+#include "llvm/Config/config.h"
#include "plugin-api.h"
#include "llvm-c/lto.h"