shithub: sox

Download patch

ref: a71a600dd699df4b4ac02737e8fbec14b8870b1f
parent: fd572dc854241438de8d4e58f37f8044fc01d453
author: rrt <rrt>
date: Thu Aug 30 21:19:03 EDT 2007

Make sure off_t is defined; fix for OS/2.

--- a/src/flac.c
+++ b/src/flac.c
@@ -21,6 +21,9 @@
 
 #include <math.h>
 #include <string.h>
+/* Next line for systems that don't define off_t when you #include
+   stdio.h; apparently OS/2 has this bug */
+#include <sys/types.h>
 
 #include <FLAC/all.h>