From f05151c9a6c5ab3e492196113cc48518ac82661e Mon Sep 17 00:00:00 2001 From: Geoffrey McRae Date: Thu, 7 Dec 2023 16:33:54 +1100 Subject: [PATCH] [host] nvfbc: fix compilation with new debug code --- host/platform/Windows/capture/NVFBC/src/wrapper.cpp | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/host/platform/Windows/capture/NVFBC/src/wrapper.cpp b/host/platform/Windows/capture/NVFBC/src/wrapper.cpp index 9ca574d7..d57b2e81 100644 --- a/host/platform/Windows/capture/NVFBC/src/wrapper.cpp +++ b/host/platform/Windows/capture/NVFBC/src/wrapper.cpp @@ -18,8 +18,12 @@ * Temple Place, Suite 330, Boston, MA 02111-1307 USA */ -#include "wrapper.h" -#include "common/windebug.h" +extern "C" +{ + #include "wrapper.h" + #include "common/windebug.h" +}; + #include #include