From 613d13beb03bb56a17e6b3262c5e8e539a7e9db8 Mon Sep 17 00:00:00 2001 From: Benjamin Kramer Date: Fri, 19 Aug 2011 01:36:54 +0000 Subject: C API functions must be able to see their extern "C" definitions, or it will be impossible to call them from C. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@138022 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/Analysis/Analysis.cpp | 1 + lib/Transforms/IPO/IPO.cpp | 1 + 2 files changed, 2 insertions(+) (limited to 'lib') diff --git a/lib/Analysis/Analysis.cpp b/lib/Analysis/Analysis.cpp index 2e28e41..0ba6af9 100644 --- a/lib/Analysis/Analysis.cpp +++ b/lib/Analysis/Analysis.cpp @@ -8,6 +8,7 @@ //===----------------------------------------------------------------------===// #include "llvm-c/Analysis.h" +#include "llvm-c/Initialization.h" #include "llvm/InitializePasses.h" #include "llvm/Analysis/Verifier.h" #include diff --git a/lib/Transforms/IPO/IPO.cpp b/lib/Transforms/IPO/IPO.cpp index b6008b7..6233922 100644 --- a/lib/Transforms/IPO/IPO.cpp +++ b/lib/Transforms/IPO/IPO.cpp @@ -13,6 +13,7 @@ // //===----------------------------------------------------------------------===// +#include "llvm-c/Initialization.h" #include "llvm-c/Transforms/IPO.h" #include "llvm/InitializePasses.h" #include "llvm/PassManager.h" -- cgit v1.1