From 3021e985e04ff1ff79c42a41b0e1e9270e724afa Mon Sep 17 00:00:00 2001 From: wsw0108 Date: Sun, 19 Feb 2023 20:48:33 +0800 Subject: [PATCH] Fix build for non-wasm --- src/wasm/include/web-ifc-geometry.h | 2 ++ src/wasm/parsing/IfcLoader.cpp | 1 + 2 files changed, 3 insertions(+) diff --git a/src/wasm/include/web-ifc-geometry.h b/src/wasm/include/web-ifc-geometry.h index 8cb838b6..2bf07b5e 100644 --- a/src/wasm/include/web-ifc-geometry.h +++ b/src/wasm/include/web-ifc-geometry.h @@ -14,6 +14,7 @@ #include #include #include +#include #include #include @@ -25,6 +26,7 @@ #include #include "../parsing/ifc-schema.h" +#include "../parsing/IfcLoader.h" #include "util.h" const double EXTRUSION_DISTANCE_HALFSPACE_M = 50; diff --git a/src/wasm/parsing/IfcLoader.cpp b/src/wasm/parsing/IfcLoader.cpp index 8a3be4eb..bbb78a71 100644 --- a/src/wasm/parsing/IfcLoader.cpp +++ b/src/wasm/parsing/IfcLoader.cpp @@ -3,6 +3,7 @@ * file, You can obtain one at https://mozilla.org/MPL/2.0/. */ #include +#include #include "IfcLoader.h" #include "LoaderError.h" #include "../utility/Logging.h"