From 8d1e65f0d7d647fd12569282cb325069f642bd8f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jan=20M=C3=B6bius?= Date: Wed, 3 Mar 2010 16:04:33 +0000 Subject: [PATCH] Fixed glut include git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@302 fdac6126-5c0c-442c-9429-916003d36597 --- .../VDProgMesh/Synthesizer/VDPMSynthesizerViewerWidget.cc | 7 ++++++- .../Apps/VDProgMesh/Synthesizer/vdpmsynthesizer.cc | 7 +++++-- 2 files changed, 11 insertions(+), 3 deletions(-) diff --git a/src/OpenMesh/Apps/VDProgMesh/Synthesizer/VDPMSynthesizerViewerWidget.cc b/src/OpenMesh/Apps/VDProgMesh/Synthesizer/VDPMSynthesizerViewerWidget.cc index d8638496..705778c9 100644 --- a/src/OpenMesh/Apps/VDProgMesh/Synthesizer/VDPMSynthesizerViewerWidget.cc +++ b/src/OpenMesh/Apps/VDProgMesh/Synthesizer/VDPMSynthesizerViewerWidget.cc @@ -59,7 +59,12 @@ #include #include #include -#include + +#ifdef ARCH_DARWIN + #include +#else + #include +#endif #include diff --git a/src/OpenMesh/Apps/VDProgMesh/Synthesizer/vdpmsynthesizer.cc b/src/OpenMesh/Apps/VDProgMesh/Synthesizer/vdpmsynthesizer.cc index 9a2e7d9f..f84ea957 100644 --- a/src/OpenMesh/Apps/VDProgMesh/Synthesizer/vdpmsynthesizer.cc +++ b/src/OpenMesh/Apps/VDProgMesh/Synthesizer/vdpmsynthesizer.cc @@ -50,8 +50,11 @@ #include "VDPMSynthesizerViewerWidget.hh" -#include - +#ifdef ARCH_DARWIN + #include +#else + #include +#endif int main(int argc, char **argv) {