Index: src/views/sdl/SkOSWindow_SDL.cpp |
diff --git a/src/views/sdl/SkOSWindow_SDL.cpp b/src/views/sdl/SkOSWindow_SDL.cpp |
index 80802a1dd09f8d3f6084397f12f19fbfd41e28b4..bc07745a26555cb5608593acd5ad26584d05c7e2 100644 |
--- a/src/views/sdl/SkOSWindow_SDL.cpp |
+++ b/src/views/sdl/SkOSWindow_SDL.cpp |
@@ -9,8 +9,10 @@ |
#if defined(SK_BUILD_FOR_ANDROID) |
#include <GLES/gl.h> |
-#else |
+#elif defined(SK_BUILD_FOR_LINUX) |
#include <GL/gl.h> |
+#elif defined(SK_BUILD_FOR_MAC) |
+#include <gl.h> |
#endif |
const int SCREEN_WIDTH = 640; |