X-Git-Url: http://git.megacz.com/?a=blobdiff_plain;f=src%2Forg%2Fxwt%2Fplat%2FGCJ.cc;h=c1333e49f26fa1b75aa0f80ee2db1075f83967e3;hb=315e4f3422651f74f312e38493b58896306de2a8;hp=b35c94ff442110c435c650f7d7cf94dac5116436;hpb=4f7f0b92b26b48cd88f534c5ca29b5bce98929b2;p=org.ibex.core.git diff --git a/src/org/xwt/plat/GCJ.cc b/src/org/xwt/plat/GCJ.cc index b35c94f..c1333e4 100644 --- a/src/org/xwt/plat/GCJ.cc +++ b/src/org/xwt/plat/GCJ.cc @@ -1,15 +1,26 @@ -#include -#include +// Copyright 2002 Adam Megacz, see the COPYING file for licensing [LGPL] + +// Inclusions ///////////////////////////////////////////////////////// + #include #include -#include "jpeglib.h" +extern "C" { +#include +#include #include - -#include +#include "jpeglib.h" +} +#include #include +#include +#include #include #include + + +// JPEG //////////////////////////////////////////////////////////////// + #define INPUT_BUF_SIZE (1024 * 16) typedef struct { @@ -97,4 +108,3 @@ void org::xwt::plat::GCJ$JPEG::nativeDecompress() { jpeg_destroy_decompress(&cinfo); } -