shithub: opusfile

Download patch

ref: 14da0dd29b05dc4772f124bc386d576d0f323ff6
parent: fbdaa5bdbe09d8fcef79e22ffad345107ea02b45
author: Timothy B. Terriberry <[email protected]>
date: Wed May 1 02:25:26 EDT 2013

Add <sys/types.h> for off_t.

This shouldn't be necessary, but apparently on OS X 10.4 fseeko()
 takes fpos_t instead of off_t, and thus doesn't guarantee that
 off_t is defined.

--- a/src/stream.c
+++ b/src/stream.c
@@ -15,6 +15,7 @@
 
  ********************************************************************/
 #include "internal.h"
+#include <sys/types.h>
 #include <stdio.h>
 #include <stdlib.h>
 #include <errno.h>