From f34a264c6070500822761797b6a7ddd75bcf69ee Mon Sep 17 00:00:00 2001 From: Duncan Sands Date: Thu, 22 Oct 2009 16:03:32 +0000 Subject: [PATCH] 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 --- llvm/tools/gold/gold-plugin.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/llvm/tools/gold/gold-plugin.cpp b/llvm/tools/gold/gold-plugin.cpp index 6520617c81f9..b1562d1f5158 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"