| Index: 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 b3cd2c72e38b4c996d15fb8b33fc943670aca06e..78ed013b0b0346a3ed9b7e7b4cd1f4185ca429f5 100644
|
| --- a/core/src/fxcodec/codec/fx_codec_jpeg.cpp
|
| +++ b/core/src/fxcodec/codec/fx_codec_jpeg.cpp
|
| @@ -13,7 +13,13 @@
|
|
|
| extern "C" {
|
| #undef FAR
|
| -#include "../../../../third_party/libjpeg/jpeglib.h"
|
| +#if defined(USE_SYSTEM_LIBJPEG)
|
| +#include <jpeglib.h>
|
| +#elif defined(USE_LIBJPEG_TURBO)
|
| +#include "third_party/libjpeg_turbo/jpeglib.h"
|
| +#else
|
| +#include "third_party/libjpeg/jpeglib.h"
|
| +#endif
|
| }
|
|
|
| extern "C" {
|
|
|