From 8517c8e81d2fc4181b3c87a1f1e367f9be229207 Mon Sep 17 00:00:00 2001 From: Richard Smith Date: Fri, 15 Apr 2016 23:30:57 +0000 Subject: [PATCH] Make this header include the header it depends on, rather than trying to include itself. Found by C++ modules build. llvm-svn: 266492 --- llvm/include/llvm/Support/CodeGenCWrappers.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/llvm/include/llvm/Support/CodeGenCWrappers.h b/llvm/include/llvm/Support/CodeGenCWrappers.h index a97f1a4..6db4433 100644 --- a/llvm/include/llvm/Support/CodeGenCWrappers.h +++ b/llvm/include/llvm/Support/CodeGenCWrappers.h @@ -17,8 +17,8 @@ #define LLVM_SUPPORT_CODEGENCWRAPPERS_H #include "llvm-c/TargetMachine.h" +#include "llvm/Support/CodeGen.h" #include "llvm/Support/ErrorHandling.h" -#include "llvm/Support/CodeGenCWrappers.h" namespace llvm { -- 2.7.4