Chromium Code Reviews| Index: src/images/SkImageDecoder_libpng.cpp |
| diff --git a/src/images/SkImageDecoder_libpng.cpp b/src/images/SkImageDecoder_libpng.cpp |
| index 4101b3e4ec30ce07d57955c2f772d0b4698cdebb..cf494ff98af86af72411b20da9e0fda279515ba8 100644 |
| --- a/src/images/SkImageDecoder_libpng.cpp |
| +++ b/src/images/SkImageDecoder_libpng.cpp |
| @@ -17,8 +17,13 @@ |
| #include "SkTemplates.h" |
| #include "SkUtils.h" |
| #include "transform_scanline.h" |
| + |
| extern "C" { |
| -#include "png.h" |
| + #ifdef SKIA_PNG_PREFIXED |
|
scroggo
2015/04/01 15:40:20
nit: Why are you using two space indents?
djsollen
2015/04/01 17:19:01
Done.
|
| + // this must proceed png.h |
| + #include "pngprefix.h" |
| + #endif |
| + #include "png.h" |
| } |
| /* These were dropped in libpng >= 1.4 */ |