Add <sys/types.h> for off_t.
authorTimothy B. Terriberry <tterribe@xiph.org>
Wed, 1 May 2013 13:25:26 +0000 (06:25 -0700)
committerTimothy B. Terriberry <tterribe@xiph.org>
Wed, 1 May 2013 13:25:26 +0000 (06:25 -0700)
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.

src/stream.c

index 1c7266b..959522b 100644 (file)
@@ -15,6 +15,7 @@
 
  ********************************************************************/
 #include "internal.h"
+#include <sys/types.h>
 #include <stdio.h>
 #include <stdlib.h>
 #include <errno.h>