From 012ada613a1462f109eb59790f8e5ee91aacdb7e Mon Sep 17 00:00:00 2001 From: Tom Sepez Date: Fri, 19 Jun 2015 13:38:19 -0700 Subject: Disintermediation. Removed several header files that simply proxy other headers. R=thestig@chromium.org Review URL: https://codereview.chromium.org/1199553002. --- core/src/fxcodec/codec/fx_codec_jpeg.cpp | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) (limited to 'core/src/fxcodec/codec/fx_codec_jpeg.cpp') diff --git a/core/src/fxcodec/codec/fx_codec_jpeg.cpp b/core/src/fxcodec/codec/fx_codec_jpeg.cpp index ff7e241e2f..7666ac6083 100644 --- a/core/src/fxcodec/codec/fx_codec_jpeg.cpp +++ b/core/src/fxcodec/codec/fx_codec_jpeg.cpp @@ -11,6 +11,11 @@ #include "../../../include/fxge/fx_dib.h" #include "codec_int.h" +extern "C" { +#undef FAR +#include "../../../../third_party/libjpeg/jpeglib.h" +} + extern "C" { static void _JpegScanSOI(const uint8_t*& src_buf, FX_DWORD& src_size) { @@ -28,10 +33,6 @@ extern "C" { } } }; -extern "C" { -#undef FAR -#include "../libjpeg/fx_libjpeg.h" -} extern "C" { static void _src_do_nothing(struct jpeg_decompress_struct* cinfo) {} }; -- cgit v1.2.3