Index: src/images/SkImageDecoder_libpng.cpp |
diff --git a/src/images/SkImageDecoder_libpng.cpp b/src/images/SkImageDecoder_libpng.cpp |
index 44aa8e2e645d6d3379a175457d6cd6a76ed4fa61..4101b3e4ec30ce07d57955c2f772d0b4698cdebb 100644 |
--- a/src/images/SkImageDecoder_libpng.cpp |
+++ b/src/images/SkImageDecoder_libpng.cpp |
@@ -17,12 +17,9 @@ |
#include "SkTemplates.h" |
#include "SkUtils.h" |
#include "transform_scanline.h" |
- |
-#ifdef SKIA_PNG_PREFIXED |
- // this must proceed png.h |
- #include "pngprefix.h" |
-#endif |
+extern "C" { |
#include "png.h" |
+} |
/* These were dropped in libpng >= 1.4 */ |
#ifndef png_infopp_NULL |