summaryrefslogtreecommitdiffstats
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
commitf34a264c6070500822761797b6a7ddd75bcf69ee (patch)
tree8ea9dedc01c79b03df18272e0f6b78f8b0a0c1e7
parent802f14ccdef1b9c90fef56e185aa7f7e72660c21 (diff)
downloadbcm5719-llvm-f34a264c6070500822761797b6a7ddd75bcf69ee.tar.gz
bcm5719-llvm-f34a264c6070500822761797b6a7ddd75bcf69ee.zip
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. llvm-svn: 84861
-rw-r--r--llvm/tools/gold/gold-plugin.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/llvm/tools/gold/gold-plugin.cpp b/llvm/tools/gold/gold-plugin.cpp
index 6520617c81f..b1562d1f515 100644
--- a/llvm/tools/gold/gold-plugin.cpp
+++ b/llvm/tools/gold/gold-plugin.cpp
@@ -12,6 +12,7 @@
//
//===----------------------------------------------------------------------===//
+#include "llvm/Config/config.h"
#include "plugin-api.h"
#include "llvm-c/lto.h"
OpenPOWER on IntegriCloud