summaryrefslogtreecommitdiff
path: root/math/openmesh/files/patch-src_OpenMesh_Apps_VDProgMesh_mkbalancedpm_mkbalancedpm.cc
blob: b6e24595e29b7e74aaca61c534e50d0fb22ed09f (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
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>