Include config.h in order to have HAVE_STDINT_H be defined.
authorDuncan Sands <baldrick@free.fr>
Thu, 22 Oct 2009 16:03:32 +0000 (16:03 +0000)
committerDuncan Sands <baldrick@free.fr>
Thu, 22 Oct 2009 16:03:32 +0000 (16:03 +0000)
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

tools/gold/gold-plugin.cpp

index 6520617c81f9b6f73dcf264e39f96a9f393914ac..b1562d1f515840d3cc97f74723c4d98600b986bf 100644 (file)
@@ -12,6 +12,7 @@
 //
 //===----------------------------------------------------------------------===//
 
+#include "llvm/Config/config.h"
 #include "plugin-api.h"
 
 #include "llvm-c/lto.h"