From 4f10555002215f621b1ed8a6d02857093ad24d36 Mon Sep 17 00:00:00 2001 From: Marijn van der Werf Date: Mon, 17 Oct 2016 21:43:31 +0200 Subject: [PATCH] Move include to extern C --- test/testpaint/SegmentSupportHeightCall.hpp | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/test/testpaint/SegmentSupportHeightCall.hpp b/test/testpaint/SegmentSupportHeightCall.hpp index bc7d159b2c..c095a9d1ba 100644 --- a/test/testpaint/SegmentSupportHeightCall.hpp +++ b/test/testpaint/SegmentSupportHeightCall.hpp @@ -19,7 +19,10 @@ #include #include "../../src/common.h" -#include "../../src/paint/paint.h" + +extern "C" { + #include "../../src/paint/paint.h" +} struct SegmentSupportCall {