summaryrefslogtreecommitdiff
path: root/math/openmesh/files/patch-src_OpenMesh_Apps_mconvert_mconvert.cc
blob: 22ea215e9c96c095f2d9bef53914cbe1f9165b30 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
--- src/OpenMesh/Apps/mconvert/mconvert.cc.orig	2020-03-12 13:55:54 UTC
+++ src/OpenMesh/Apps/mconvert/mconvert.cc
@@ -45,6 +45,9 @@
 #include <iterator>
 #include <fstream>
 #include <string>
+#if defined(__FreeBSD__)
+#include <unistd.h>
+#endif
 //
 #include <OpenMesh/Core/IO/MeshIO.hh>
 #include <OpenMesh/Core/Mesh/TriMesh_ArrayKernelT.hh>