diff --git a/src/USER-PTM/ptm_neighbour_ordering.cpp b/src/USER-PTM/ptm_neighbour_ordering.cpp index c77a779c68..d5948b9dc6 100644 --- a/src/USER-PTM/ptm_neighbour_ordering.cpp +++ b/src/USER-PTM/ptm_neighbour_ordering.cpp @@ -5,6 +5,7 @@ #include #include "ptm_constants.h" #include "ptm_voronoi_cell.h" +#include "ptm_neighbour_ordering.h" namespace ptm { diff --git a/src/USER-PTM/ptm_neighbour_ordering.h b/src/USER-PTM/ptm_neighbour_ordering.h index e43ced9fd5..78bf4d533b 100644 --- a/src/USER-PTM/ptm_neighbour_ordering.h +++ b/src/USER-PTM/ptm_neighbour_ordering.h @@ -1,6 +1,8 @@ #ifndef PTM_NEIGHBOUR_ORDERING_H #define PTM_NEIGHBOUR_ORDERING_H +#include + namespace ptm { int calculate_neighbour_ordering(void* voronoi_handle, int num_points, const double (*_points)[3], int8_t* ordering); diff --git a/src/USER-PTM/ptm_polar.cpp b/src/USER-PTM/ptm_polar.cpp index fa199ca656..2c255f386b 100644 --- a/src/USER-PTM/ptm_polar.cpp +++ b/src/USER-PTM/ptm_polar.cpp @@ -89,6 +89,7 @@ #include #include #include "ptm_quat.h" +#include "ptm_polar.h" namespace ptm { diff --git a/src/USER-PTM/ptm_polar.h b/src/USER-PTM/ptm_polar.h index 15d1f185b7..e1980f974a 100644 --- a/src/USER-PTM/ptm_polar.h +++ b/src/USER-PTM/ptm_polar.h @@ -3,6 +3,7 @@ #include #include +#include namespace ptm { diff --git a/src/library.h b/src/library.h index 82071f673b..f6f8d9d75c 100644 --- a/src/library.h +++ b/src/library.h @@ -17,6 +17,7 @@ */ #include +#include /* for int64_t */ /* ifdefs allow this file to be included in a C program */