From 3e41bd9e3fb7e5c8b274d6155986f340ca42f5e9 Mon Sep 17 00:00:00 2001 From: wmayer Date: Wed, 7 Sep 2022 18:33:53 +0200 Subject: [PATCH] TD: [skip ci] fix build failure with MSVC The compiler requires the class declaration of LineSet in order to determine its size --- src/Mod/TechDraw/App/DrawGeomHatch.h | 1 + src/Mod/TechDraw/App/DrawViewSection.h | 1 + 2 files changed, 2 insertions(+) diff --git a/src/Mod/TechDraw/App/DrawGeomHatch.h b/src/Mod/TechDraw/App/DrawGeomHatch.h index 567ea333e4..59efbea39d 100644 --- a/src/Mod/TechDraw/App/DrawGeomHatch.h +++ b/src/Mod/TechDraw/App/DrawGeomHatch.h @@ -24,6 +24,7 @@ #define TechDraw_DrawGeomHatch_h_ #include +#include #include #include diff --git a/src/Mod/TechDraw/App/DrawViewSection.h b/src/Mod/TechDraw/App/DrawViewSection.h index 4a847363fa..82eaf2d4d0 100644 --- a/src/Mod/TechDraw/App/DrawViewSection.h +++ b/src/Mod/TechDraw/App/DrawViewSection.h @@ -40,6 +40,7 @@ #include #include "DrawViewPart.h" +#include "HatchLine.h" class Bnd_Box;