diff --git a/libsrc/meshing/meshclass.cpp b/libsrc/meshing/meshclass.cpp index e6067a5f..b2c8174d 100644 --- a/libsrc/meshing/meshclass.cpp +++ b/libsrc/meshing/meshclass.cpp @@ -1,7 +1,11 @@ #include #include #include "meshing.hpp" + +#ifdef NG_PYTHON +// must be included to instantiate Archive::Shallow(NetgenGeometry&) #include +#endif namespace netgen {