From addce9c9a4d60367b3803fb97e412c965112d5ce Mon Sep 17 00:00:00 2001 From: Nicholas Sharp Date: Sun, 3 Mar 2024 10:31:55 -0800 Subject: [PATCH] add header includes for int64_t on some compilers --- include/polyscope/curve_network.h | 1 + include/polyscope/implicit_helpers.h | 1 + include/polyscope/internal.h | 1 + include/polyscope/render/managed_buffer.h | 1 + include/polyscope/slice_plane.h | 2 ++ include/polyscope/surface_mesh.h | 1 + include/polyscope/utilities.h | 1 + include/polyscope/volume_grid.h | 1 + include/polyscope/volume_mesh.h | 7 ++++--- include/polyscope/weak_handle.h | 1 + src/render/managed_buffer.cpp | 2 +- 11 files changed, 15 insertions(+), 4 deletions(-) diff --git a/include/polyscope/curve_network.h b/include/polyscope/curve_network.h index 1a83fa40..08043890 100644 --- a/include/polyscope/curve_network.h +++ b/include/polyscope/curve_network.h @@ -14,6 +14,7 @@ #include "polyscope/curve_network_scalar_quantity.h" #include "polyscope/curve_network_vector_quantity.h" +#include #include namespace polyscope { diff --git a/include/polyscope/implicit_helpers.h b/include/polyscope/implicit_helpers.h index 439cc496..7baedfe8 100644 --- a/include/polyscope/implicit_helpers.h +++ b/include/polyscope/implicit_helpers.h @@ -15,6 +15,7 @@ #include "polyscope/structure.h" #include "polyscope/utilities.h" +#include #include #include diff --git a/include/polyscope/internal.h b/include/polyscope/internal.h index d339e772..c875248e 100644 --- a/include/polyscope/internal.h +++ b/include/polyscope/internal.h @@ -2,6 +2,7 @@ #pragma once +#include #include diff --git a/include/polyscope/render/managed_buffer.h b/include/polyscope/render/managed_buffer.h index a4e81cbf..1b1d656e 100644 --- a/include/polyscope/render/managed_buffer.h +++ b/include/polyscope/render/managed_buffer.h @@ -2,6 +2,7 @@ #pragma once +#include #include #include #include diff --git a/include/polyscope/slice_plane.h b/include/polyscope/slice_plane.h index 52d1d59f..2316a7f2 100644 --- a/include/polyscope/slice_plane.h +++ b/include/polyscope/slice_plane.h @@ -9,6 +9,8 @@ #include "polyscope/utilities.h" #include "polyscope/widget.h" +#include + namespace polyscope { diff --git a/include/polyscope/surface_mesh.h b/include/polyscope/surface_mesh.h index 111762f1..da151b70 100644 --- a/include/polyscope/surface_mesh.h +++ b/include/polyscope/surface_mesh.h @@ -2,6 +2,7 @@ #pragma once +#include #include #include diff --git a/include/polyscope/utilities.h b/include/polyscope/utilities.h index 6ea38da7..2d518439 100644 --- a/include/polyscope/utilities.h +++ b/include/polyscope/utilities.h @@ -4,6 +4,7 @@ #include #include +#include #include #include #include diff --git a/include/polyscope/volume_grid.h b/include/polyscope/volume_grid.h index 95fb3108..9c1b7071 100644 --- a/include/polyscope/volume_grid.h +++ b/include/polyscope/volume_grid.h @@ -12,6 +12,7 @@ #include "polyscope/volume_grid_quantity.h" #include "polyscope/volume_grid_scalar_quantity.h" +#include #include namespace polyscope { diff --git a/include/polyscope/volume_mesh.h b/include/polyscope/volume_mesh.h index 50598879..6dfb760b 100644 --- a/include/polyscope/volume_mesh.h +++ b/include/polyscope/volume_mesh.h @@ -2,9 +2,6 @@ #pragma once -#include -#include - #include "polyscope/affine_remapper.h" #include "polyscope/color_management.h" #include "polyscope/render/engine.h" @@ -17,6 +14,10 @@ #include "polyscope/volume_mesh_scalar_quantity.h" #include "polyscope/volume_mesh_vector_quantity.h" +#include +#include +#include + namespace polyscope { // Forward declarations for quantities diff --git a/include/polyscope/weak_handle.h b/include/polyscope/weak_handle.h index 720de8e7..ce5ffb76 100644 --- a/include/polyscope/weak_handle.h +++ b/include/polyscope/weak_handle.h @@ -2,6 +2,7 @@ #pragma once +#include #include #include diff --git a/src/render/managed_buffer.cpp b/src/render/managed_buffer.cpp index 2a91a0d7..ecba28e6 100644 --- a/src/render/managed_buffer.cpp +++ b/src/render/managed_buffer.cpp @@ -591,7 +591,7 @@ template<> ManagedBufferMap& ManagedBufferMap