From aca74f0e0d221a0dfe355adcdf0592bb64461df7 Mon Sep 17 00:00:00 2001 From: Peter Collingbourne Date: Wed, 25 Sep 2013 07:11:58 +0000 Subject: [PATCH] Wrap the #include of in an #ifndef __cplusplus. This should fix the MSVC build. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@191357 91177308-0d34-0410-b5e6-96231b3b80d8 --- include/llvm-c/lto.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/include/llvm-c/lto.h b/include/llvm-c/lto.h index 40110fddfc1..d960617fdc7 100644 --- a/include/llvm-c/lto.h +++ b/include/llvm-c/lto.h @@ -16,7 +16,9 @@ #ifndef LLVM_C_LTO_H #define LLVM_C_LTO_H +#ifndef __cplusplus #include +#endif #include #include -- 2.34.1