diff -r 52e4bd687039 IMG_jpg.c --- a/IMG_jpg.c Sun Mar 06 13:42:45 2011 -0800 +++ b/IMG_jpg.c Thu Apr 07 11:16:44 2011 -0300 @@ -34,6 +34,12 @@ #include +#if JPEG_LIB_VERSION >= 80 + typedef JPEG_boolean boolean; + #define TRUE JPEG_TRUE + #define FALSE JPEG_FALSE +#endif + /* Define this for fast loading and not as good image quality */ /*#define FAST_JPEG*/