summaryrefslogtreecommitdiff
path: root/math/openmesh/files/patch-src_OpenMesh_Apps_Decimating_decimaterviewer.cc
diff options
context:
space:
mode:
Diffstat (limited to 'math/openmesh/files/patch-src_OpenMesh_Apps_Decimating_decimaterviewer.cc')
-rw-r--r--math/openmesh/files/patch-src_OpenMesh_Apps_Decimating_decimaterviewer.cc12
1 files changed, 12 insertions, 0 deletions
diff --git a/math/openmesh/files/patch-src_OpenMesh_Apps_Decimating_decimaterviewer.cc b/math/openmesh/files/patch-src_OpenMesh_Apps_Decimating_decimaterviewer.cc
new file mode 100644
index 000000000000..0dffab8c0e5d
--- /dev/null
+++ b/math/openmesh/files/patch-src_OpenMesh_Apps_Decimating_decimaterviewer.cc
@@ -0,0 +1,12 @@
+--- src/OpenMesh/Apps/Decimating/decimaterviewer.cc.orig 2018-10-21 23:51:30 UTC
++++ src/OpenMesh/Apps/Decimating/decimaterviewer.cc
+@@ -63,6 +63,9 @@
+ #else
+ #include <GL/glut.h>
+ #endif
++#if defined(__FreeBSD__)
++#include <unistd.h>
++#endif
+
+ void usage_and_exit(int xcode);
+