freebsd-ports/math/openmesh/files/patch-src_OpenMesh_Apps_mconvert_mconvert.cc

12 lines
346 B
C++

--- src/OpenMesh/Apps/mconvert/mconvert.cc.orig 2018-10-21 23:39:10 UTC
+++ src/OpenMesh/Apps/mconvert/mconvert.cc
@@ -50,6 +50,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>