shithub: sox

Download patch

ref: a74c6364384dafbbae06caadf33832738dcc968a
parent: 263a35a699e2369e07c63d17d912f4e973567541
author: Ulrich Klauer <ulrich@chirlu.de>
date: Fri Dec 9 20:04:18 EST 2011

Don't include math.h in hilbert.c

Including math.h before soxconfig.h results in compile problems for
some configurations. Remove the include, as math.h is included anyway
from util.h (which in turn is included from sox_i.h).

--- a/src/hilbert.c
+++ b/src/hilbert.c
@@ -20,8 +20,6 @@
  * Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301  USA
  */
 
-#include <math.h>
-
 #include "sox_i.h"
 #include "dft_filter.h"