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

Diego Elio Pettenò flameeyes at flameeyes.eu
Wed May 1 04:48:57 PDT 2013


Uhm I would probably suggest adding a check for this as I'm not sure
if all operating systems have or need sys/types.h.

Diego Elio Pettenò — Flameeyes
flameeyes at flameeyes.euhttp://blog.flameeyes.eu/


On Wed, May 1, 2013 at 12:46 PM, Ozkan Sezer <sezeroz at gmail.com> wrote:
> For definition of off_t type, stream.c needs including sys/types.h.  I
> hit this requirement at least once when compiling against Mac OSX 10.4
> SDK. Trivial patch inlined below.
>
> --- opusfile/src/stream.c~
> +++ opusfile/src/stream.c
> @@ -14,6 +14,7 @@
>   last mod: $Id: vorbisfile.c 17573 2010-10-27 14:53:59Z xiphmont $
>
>   ********************************************************************/
> +#include <sys/types.h>
>  #include "internal.h"
>  #include <stdio.h>
>  #include <stdlib.h>
>
> --
> O.S.
> _______________________________________________
> opus mailing list
> opus at xiph.org
> http://lists.xiph.org/mailman/listinfo/opus


More information about the opus mailing list