aboutsummaryrefslogtreecommitdiff
path: root/math/openmesh/files/patch-src_OpenMesh_Apps_VDProgMesh_mkbalancedpm_mkbalancedpm.cc
diff options
context:
space:
mode:
Diffstat (limited to 'math/openmesh/files/patch-src_OpenMesh_Apps_VDProgMesh_mkbalancedpm_mkbalancedpm.cc')
-rw-r--r--math/openmesh/files/patch-src_OpenMesh_Apps_VDProgMesh_mkbalancedpm_mkbalancedpm.cc12
1 files changed, 12 insertions, 0 deletions
diff --git a/math/openmesh/files/patch-src_OpenMesh_Apps_VDProgMesh_mkbalancedpm_mkbalancedpm.cc b/math/openmesh/files/patch-src_OpenMesh_Apps_VDProgMesh_mkbalancedpm_mkbalancedpm.cc
new file mode 100644
index 000000000000..b6e24595e29b
--- /dev/null
+++ b/math/openmesh/files/patch-src_OpenMesh_Apps_VDProgMesh_mkbalancedpm_mkbalancedpm.cc
@@ -0,0 +1,12 @@
+--- src/OpenMesh/Apps/VDProgMesh/mkbalancedpm/mkbalancedpm.cc.orig 2020-03-12 13:55:54 UTC
++++ src/OpenMesh/Apps/VDProgMesh/mkbalancedpm/mkbalancedpm.cc
+@@ -45,6 +45,9 @@
+ #include <iostream>
+ #include <sstream>
+ #include <cmath>
++#if defined(__FreeBSD__)
++#include <unistd.h>
++#endif
+ // -------------------- OpenMesh
+ #include <OpenMesh/Core/IO/MeshIO.hh>
+ #include <OpenMesh/Core/Mesh/TriMesh_ArrayKernelT.hh>