diff --git a/include/CppSharp.h b/include/CppSharp.h index 7d1bf722..fdcc0ea8 100644 --- a/include/CppSharp.h +++ b/include/CppSharp.h @@ -8,6 +8,8 @@ // ------------------------------------------------------------------------------------------- // #pragma once +#if defined(__cplusplus_cli) + #include #include #include @@ -291,3 +293,5 @@ namespace msclr { }; } } // namespace msclr + +#endif