From 1e3a9ded112cb8fb8a438a1d57111a6683f22c13 Mon Sep 17 00:00:00 2001 From: THISISAGOODNAME Date: Wed, 30 Aug 2017 23:18:36 +0800 Subject: [PATCH] Fix assimp_qt_viewer build failed on OSX --- tools/assimp_qt_viewer/glview.cpp | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/tools/assimp_qt_viewer/glview.cpp b/tools/assimp_qt_viewer/glview.cpp index caf4ef320..429f2ca99 100644 --- a/tools/assimp_qt_viewer/glview.cpp +++ b/tools/assimp_qt_viewer/glview.cpp @@ -6,7 +6,11 @@ #include "glview.hpp" // Header files, OpenGL. -#include +#if defined(__APPLE__) +# include +#else +# include +#endif // Header files, DevIL. #include