diff options
author | Duncan Sands <baldrick@free.fr> | 2009-10-22 16:03:32 +0000 |
---|---|---|
committer | Duncan Sands <baldrick@free.fr> | 2009-10-22 16:03:32 +0000 |
commit | 09b5d90429258f92f5e5ac98411a71460bcd9230 (patch) | |
tree | c679ba048a8d7acac9a17b2be6d93c98ccdfed4a | |
parent | 71e0b7c560200a87ea49080f581153f9a2c9db72 (diff) | |
download | external_llvm-09b5d90429258f92f5e5ac98411a71460bcd9230.zip external_llvm-09b5d90429258f92f5e5ac98411a71460bcd9230.tar.gz external_llvm-09b5d90429258f92f5e5ac98411a71460bcd9230.tar.bz2 |
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
-rw-r--r-- | tools/gold/gold-plugin.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/gold/gold-plugin.cpp b/tools/gold/gold-plugin.cpp index 6520617..b1562d1 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" |