[opus] [PATCH] stream.c needs sys/types.h

Timothy B. Terriberry tterribe at xiph.org
Wed May 1 06:30:14 PDT 2013


Ozkan Sezer wrote:
> OTOH, the need for sys/types.h is there unless the cast is removed..

Fixed: http://git.xiph.org/?p=opusfile.git;a=commitdiff;h=14da0dd2

fpos_t is not guaranteed to be a simple numeric type, so it's basically 
useless for this sort of thing (you can use it to save and restore the 
file position, but you can't do arithmetic on that position). I don't 
know why 10.4 is using it in fseeko(), but I'm happy to include 
<sys/types.h> if it solves the problem.


More information about the opus mailing list