X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/b59ff3c9c8d59c2c4e0291b964d349c9df839894..0c589ad076cb531a3ef7808aaedadc03c8286942:/src/common/imagjpeg.cpp diff --git a/src/common/imagjpeg.cpp b/src/common/imagjpeg.cpp index b8f642502f..07bc8934cb 100644 --- a/src/common/imagjpeg.cpp +++ b/src/common/imagjpeg.cpp @@ -30,7 +30,7 @@ #include "wx/app.h" #if wxUSE_LIBJPEG extern "C" { -#include +#include "../jpeg/jpeglib.h" } #endif #include "wx/filefn.h" @@ -76,11 +76,11 @@ typedef struct { typedef my_source_mgr * my_src_ptr; -METHODDEF(void) my_init_source ( j_decompress_ptr cinfo ) +METHODDEF(void) my_init_source ( j_decompress_ptr WXUNUSED(cinfo) ) { } -METHODDEF(boolean) my_fill_input_buffer ( j_decompress_ptr cinfo ) +METHODDEF(boolean) my_fill_input_buffer ( j_decompress_ptr WXUNUSED(cinfo) ) { return TRUE; }