[MPlayer-dev-eng] libmpdemux/stream.h missing stdint.h?
pl
p_l at tfz.net
Sun Jan 6 14:05:42 CET 2002
Hi,
On Sat, Jan 05, 2002 at 11:12:03PM -0800, Steven M. Schultz wrote:
> During the nightly 'cvs update;./configure;gmake' I noticed that
> that the compile failed in libmpdemux with:
>
> In file included from dec_audio.c:15:
> libmpdemux/stream.h:99: syntax error before `stream_read_qword'
> libmpdemux/stream.h: In function `stream_read_qword':
> libmpdemux/stream.h:100: syntax error before `y'
>
> The problem appears to be a missing "#include <stdint.h>" to get
> the uint64_t data type.
>
> It's a trivial change:
>
> --- libmpdemux/stream.h.dist Sat Jan 5 23:02:17 2002
> +++ libmpdemux/stream.h Sat Jan 5 23:06:11 2002
> @@ -1,6 +1,8 @@
> #ifndef __STREAM_H
> #define __STREAM_H
>
> +#include <stdint.h> // for uint64_t
> +
> #define STREAM_BUFFER_SIZE 2048
>
> #define STREAMTYPE_FILE 0
Thanks. It should be fixed.
I've just replaced dependencies on stdint.h by inttypes.h.
--
Best regards,
pl
More information about the MPlayer-dev-eng
mailing list