From 1cd2e2be2f3d16c90ddc84be4684968e2a2e61b0 Mon Sep 17 00:00:00 2001 From: whitequark Date: Tue, 17 Mar 2015 19:14:47 +0300 Subject: [PATCH] Add Apple-specific OpenGL include statements. --- src/solvespace.h | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/src/solvespace.h b/src/solvespace.h index e34ffbee..60889b19 100644 --- a/src/solvespace.h +++ b/src/solvespace.h @@ -23,8 +23,13 @@ #ifdef WIN32 # include // required by GL headers #endif -#include -#include +#ifdef __APPLE__ +# include +# include +#else +# include +# include +#endif // The few floating-point equality comparisons in SolveSpace have been // carefully considered, so we disable the -Wfloat-equal warning for them