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

Ozkan Sezer sezeroz at gmail.com
Wed May 1 04:46:06 PDT 2013

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>


More information about the opus mailing list