--- openjdk/jdk/src/share/native/sun/awt/image/jpeg/imageioJPEG.c 2009-07-18 22:41:54.000000000 +0400 +++ openjdk-orig/jdk/src/share/native/sun/awt/image/jpeg//imageioJPEG.c 2009-07-18 23:31:30.000000000 +0400 @@ -58,6 +58,8 @@ #undef MAX #define MAX(a,b) ((a) > (b) ? (a) : (b)) +typedef long INT32; + /* Cached Java method ids */ static jmethodID ImageInputStream_readID; static jmethodID ImageInputStream_skipBytesID;