diff -urN libmovtar-0.1.3/rtjpeg/RTjpeg.h libmovtar-0.1.3-patched/rtjpeg/RTjpeg.h --- libmovtar-0.1.3/rtjpeg/RTjpeg.h 2001-06-15 18:43:39.000000000 +0930 +++ libmovtar-0.1.3-patched/rtjpeg/RTjpeg.h 2009-03-22 10:01:39.000000000 +1030 @@ -25,19 +25,11 @@ #ifndef __RTjpeg_h__ #define __RTjpeg_h__ -#ifndef _I386_TYPES_H -typedef unsigned char __u8; -typedef unsigned short __u16; -typedef unsigned long __u32; -typedef unsigned long long __u64; -typedef signed char __s8; -typedef signed short __s16; -typedef signed long __s32; -#endif +#include extern void RTjpeg_init_Q(__u8 Q); -extern void RTjpeg_init_compress(long unsigned int *buf, int width, int height, __u8 Q); -extern void RTjpeg_init_decompress(long unsigned int *buf, int width, int height); +extern void RTjpeg_init_compress(__u32 *buf, int width, int height, __u8 Q); +extern void RTjpeg_init_decompress(__u32 *buf, int width, int height); extern int RTjpeg_compressYUV420(__s8 *sp, unsigned char *bp); extern int RTjpeg_compressYUV422(__s8 *sp, unsigned char *bp); extern void RTjpeg_decompressYUV420(__s8 *sp, __u8 *bp);