We must ensure that we include SkTypes.h before doing any checks
authorMatthew Leibowitz <mattleibow@live.com>
Tue, 14 Mar 2017 02:06:03 +0000 (23:06 -0300)
committerMatthew Leibowitz <mattleibow@live.com>
Tue, 14 Mar 2017 02:06:03 +0000 (23:06 -0300)
src/c/gr_context.cpp

index 2a51c02..cbdc1a9 100644 (file)
@@ -5,6 +5,8 @@
  * found in the LICENSE file.
  */
 
+#include "SkTypes.h" // required to make sure SK_SUPPORT_GPU is defined
+
 #if SK_SUPPORT_GPU
 
 #include "GrContext.h"