From 09b5d90429258f92f5e5ac98411a71460bcd9230 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. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@84861 91177308-0d34-0410-b5e6-96231b3b80d8 --- tools/gold/gold-plugin.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/tools/gold/gold-plugin.cpp b/tools/gold/gold-plugin.cpp index 6520617c81f..b1562d1f515 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"