Index: src/core/SkPictureRecorder.cpp |
diff --git a/src/core/SkPictureRecorder.cpp b/src/core/SkPictureRecorder.cpp |
index 844b0e765b8bba8e937ee2834837492817ad2c1d..6fa9a06067bcc34054a6c7cfbad8e1cbc112a7f5 100644 |
--- a/src/core/SkPictureRecorder.cpp |
+++ b/src/core/SkPictureRecorder.cpp |
@@ -5,6 +5,8 @@ |
* found in the LICENSE file. |
*/ |
+// Need to include SkTypes first, so that SK_BUILD_FOR_ANDROID is defined. |
+#include "SkTypes.h" |
#ifdef SK_BUILD_FOR_ANDROID |
#include "SkPicturePlayback.h" |
#endif |