shithub: libsamplerate

Download patch

ref: b9e8a0def977a4cdf655c8ead387cfa093d97ab5
parent: 2647ab79be4803f544a3e7f656e24dd54141e9f8
author: Erik de Castro Lopo <erikd@mega-nerd.com>
date: Tue Aug 4 11:37:25 EDT 2009

src/samplerate.h : Change definition of SRC_STATE to be kinder to some slightly broken compilers. Thanks to Rob Brown for suggesting this fix.

--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2009-06-25  Erik de Castro Lopo  <erikd AT mega-nerd DOT com>
+
+    * src/samplerate.h
+    Change definition of SRC_STATE to be kinder to some slightly broken
+    compilers. Thanks to Rob Brown for suggesting this fix.
+
 2009-04-11  Erik de Castro Lopo  <erikd AT mega-nerd DOT com>
 
     * M4/check_signal.m4 M4/clip_mode.m4 M4/lrint.m4 M4/lrintf.m4
--- a/src/samplerate.h
+++ b/src/samplerate.h
@@ -36,6 +36,7 @@
 
 
 /* Opaque data type SRC_STATE. */
+struct SRC_STATE_tag ;
 typedef struct SRC_STATE_tag SRC_STATE ;
 
 /* SRC_DATA is used to pass data to src_simple() and src_process(). */