From e6cab2252ee48212420b52735afa6346bb256e2c Mon Sep 17 00:00:00 2001 From: Lei Zhang Date: Fri, 6 Nov 2015 15:53:26 -0800 Subject: XFA: Actually fix all relative includes to third_party. R=tsepez@chromium.org Review URL: https://codereview.chromium.org/1413253003 . --- core/src/fxcodec/codec/fx_codec_png.cpp | 4 +++- core/src/fxcodec/codec/fx_codec_tiff.cpp | 4 +++- 2 files changed, 6 insertions(+), 2 deletions(-) (limited to 'core/src/fxcodec') diff --git a/core/src/fxcodec/codec/fx_codec_png.cpp b/core/src/fxcodec/codec/fx_codec_png.cpp index 658ddf2ca0..ea9c7a5b67 100644 --- a/core/src/fxcodec/codec/fx_codec_png.cpp +++ b/core/src/fxcodec/codec/fx_codec_png.cpp @@ -7,10 +7,12 @@ #include "../../../include/fxcodec/fx_codec.h" #include "../../../include/fxge/fx_dib.h" #include "codec_int.h" + extern "C" { #undef FAR -#include "../../../../third_party/lpng_v163/png.h" +#include "third_party/lpng_v163/png.h" } + static void _png_error_data(png_structp png_ptr, png_const_charp error_msg) { if (png_get_error_ptr(png_ptr)) { FXSYS_strncpy((char*)png_get_error_ptr(png_ptr), error_msg, diff --git a/core/src/fxcodec/codec/fx_codec_tiff.cpp b/core/src/fxcodec/codec/fx_codec_tiff.cpp index 1efd2fbf70..cf7af8fe77 100644 --- a/core/src/fxcodec/codec/fx_codec_tiff.cpp +++ b/core/src/fxcodec/codec/fx_codec_tiff.cpp @@ -7,9 +7,11 @@ #include "../../../include/fxcodec/fx_codec.h" #include "../../../include/fxge/fx_dib.h" #include "codec_int.h" + extern "C" { -#include "../../../../third_party/tiff_v403/tiffiop.h" +#include "third_party/tiff_v403/tiffiop.h" } + void* IccLib_CreateTransform_sRGB(const unsigned char* pProfileData, unsigned int dwProfileSize, int nComponents, -- cgit v1.2.3