[llvm-commits] [llvm] r84861 - /llvm/trunk/tools/gold/gold-plugin.cpp

Duncan Sands baldrick at free.fr
Thu Oct 22 09:03:32 PDT 2009


Author: baldrick
Date: Thu Oct 22 11:03:32 2009
New Revision: 84861

URL: http://llvm.org/viewvc/llvm-project?rev=84861&view=rev
Log:
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.

Modified:
    llvm/trunk/tools/gold/gold-plugin.cpp

Modified: llvm/trunk/tools/gold/gold-plugin.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/tools/gold/gold-plugin.cpp?rev=84861&r1=84860&r2=84861&view=diff

==============================================================================
--- llvm/trunk/tools/gold/gold-plugin.cpp (original)
+++ llvm/trunk/tools/gold/gold-plugin.cpp Thu Oct 22 11:03:32 2009
@@ -12,6 +12,7 @@
 //
 //===----------------------------------------------------------------------===//
 
+#include "llvm/Config/config.h"
 #include "plugin-api.h"
 
 #include "llvm-c/lto.h"





More information about the llvm-commits mailing list