From 55abc87126053cf46a184b228bca2826feb3b8dc Mon Sep 17 00:00:00 2001 From: Michael Fabian 'Xaymar' Dirks Date: Wed, 7 Nov 2018 14:09:18 +0100 Subject: [PATCH] plugin: extern "C" around obs includes --- source/plugin.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/source/plugin.h b/source/plugin.h index a6810462..61ed20d4 100644 --- a/source/plugin.h +++ b/source/plugin.h @@ -22,11 +22,13 @@ #include #include +extern "C" { #pragma warning (push) #pragma warning (disable: 4201) #include "obs-module.h" #include "util/platform.h" #pragma warning (pop) +} // Plugin #define PLUGIN_NAME "Stream Effects"