diff options
Diffstat (limited to 'core/src/fxcodec')
-rw-r--r-- | core/src/fxcodec/codec/fx_codec_png.cpp | 4 | ||||
-rw-r--r-- | core/src/fxcodec/codec/fx_codec_tiff.cpp | 4 |
2 files changed, 6 insertions, 2 deletions
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,
|