diff -ruN mpeg_encode-1_5b-src_1/bitio.c mpeg_encode-1_5b-src_0/mpeg_encode/bitio.c --- mpeg_encode-1_5b-src_1/bitio.c Wed Jun 21 11:36:12 1995 +++ mpeg_encode-1_5b-src_0/bitio.c Mon Apr 1 16:42:37 2002 @@ -78,7 +78,8 @@ /*==============* * HEADER FILES * *==============*/ - +#include +#include #include #include "all.h" #include "byteorder.h" diff -ruN mpeg_encode-1_5b-src_1/headers/libpnmrw.h mpeg_encode-1_5b-src_0/headers/libpnmrw.h --- mpeg_encode-1_5b-src_1/headers/libpnmrw.h Wed Aug 9 08:17:41 1995 +++ mpeg_encode-1_5b-src_0/headers/libpnmrw.h Mon Apr 1 16:38:28 2002 @@ -19,10 +19,10 @@ ** malloc.h at all. A sad situation. If you have compilation problems ** that point here, feel free to tweak or remove these declarations. */ -#include -#if !defined(sco) && !defined(sgi) && !defined(IRIX) -extern char* malloc(); -#endif +//#include +//#if !defined(sco) && !defined(sgi) && !defined(IRIX) +//extern char* malloc(); +//#endif /* End of configurable definitions. */ diff -ruN mpeg_encode-1_5b-src_1/headers/opts.h mpeg_encode-1_5b-src_0/headers/opts.h --- mpeg_encode-1_5b-src_1/headers/opts.h Tue Aug 15 16:43:43 1995 +++ mpeg_encode-1_5b-src_0/headers/opts.h Mon Apr 1 16:51:54 2002 @@ -118,6 +118,7 @@ int CalcRLEHuffLength _ANSI_ARGS_((FlatBlock in)); void ParseTuneParam _ANSI_ARGS_((char *charPtr)); int mse _ANSI_ARGS_((Block blk1, Block blk2)); +void Mpost_UnQuantZigBlockLaplace _ANSI_ARGS_((FlatBlock in, Block out, int qscale, boolean iblock)); diff -ruN mpeg_encode-1_5b-src_1/jpeg.c mpeg_encode-1_5b-src_0/jpeg.c --- mpeg_encode-1_5b-src_1/jpeg.c Fri Aug 4 16:35:07 1995 +++ mpeg_encode-1_5b-src_0/jpeg.c Mon Apr 1 18:08:35 2002 @@ -65,6 +65,7 @@ *==============*/ #include +#include #include "all.h" #include "mtypes.h" #include "frames.h" @@ -77,8 +78,7 @@ /* make it happier.... */ #undef DCTSIZE2 -#include "jpeg/jpeglib.h" - +#include "jpeglib.h" #define HEADER_SIZE 607 /*JFIF header size used on output images*/ diff -ruN mpeg_encode-1_5b-src_1/libpnmrw.c mpeg_encode-1_5b-src_0/libpnmrw.c --- mpeg_encode-1_5b-src_1/libpnmrw.c Wed Aug 16 15:24:26 1995 +++ mpeg_encode-1_5b-src_0/libpnmrw.c Mon Apr 1 16:47:35 2002 @@ -28,6 +28,7 @@ #endif #include +#include #include "libpnmrw.h" /* if don't have string.h, try strings.h */ @@ -126,7 +127,7 @@ pm_perror( reason ) char* reason; { - extern char* sys_errlist[]; + // extern char* sys_errlist[]; extern int errno; char* e; diff -ruN mpeg_encode-1_5b-src_1/opts.c mpeg_encode-1_5b-src_0/opts.c --- mpeg_encode-1_5b-src_1/opts.c Tue Aug 15 11:34:09 1995 +++ mpeg_encode-1_5b-src_0/opts.c Mon Apr 1 16:51:49 2002 @@ -38,7 +38,7 @@ #include #include #include "opts.h" -#include +//#include #include /*==============* @@ -91,7 +92,6 @@ void SetupWriteDistortions _ANSI_ARGS_((char *charPtr)); void SetupLaplace _ANSI_ARGS_((void)); void CalcLambdas _ANSI_ARGS_((void)); -void Mpost_UnQuantZigBlockLaplace _ANSI_ARGS_((FlatBlock in, Block out, int qscale, boolean iblock)); /* define this as it too much of a pain to find toupper on different arch'es */ #define ASCII_TOUPPER(c) ((c>='a') && (c<='z')) ? c-'a'+'A' : c