$NetBSD: patch-ao,v 1.2 2007/11/13 12:50:22 rillig Exp $ --- mpeg.h.orig 1999-07-24 06:32:06.000000000 +0200 +++ mpeg.h 2007-11-13 13:42:30.615567000 +0100 @@ -97,7 +97,7 @@ extern "C" { * Mixing and matching compilers, BTW, is not a good idea...) */ #undef PROTO -#if __STDC__ || __cplusplus +#if __STDC__ || __cplusplus || defined(__STDC__) #define PROTO(formal_parameters) formal_parameters #else #define const @@ -109,7 +109,7 @@ extern "C" { Boolean OpenMPEG PROTO((FILE *MPEGfile, ImageDesc *ImgInfo)); void CloseMPEG PROTO((void)); Boolean RewindMPEG PROTO((FILE *MPEGfile, ImageDesc *Image)); -void SetMPEGOption PROTO((MPEGOptionEnum Option, int value)); +void SetMPEGOption PROTO((MPEGOptionEnum Option, long value)); Boolean GetMPEGFrame PROTO((char *Frame)); #ifdef __cplusplus