shithub: libsamplerate

Download patch

ref: d8d66af6a5e33b2f01fac3e68874c6ba2bfac43f
parent: f0f32d9e523715d2b23e665f5a64a8f8433a887a
author: Erik de Castro Lopo <erikd@mega-nerd.com>
date: Sun May 20 06:45:14 EDT 2018

common.h: Include <math.h>

This was causing a compile failure on Android.

Closes: https://github.com/erikd/libsamplerate/issues/41

--- a/src/common.h
+++ b/src/common.h
@@ -17,6 +17,8 @@
 typedef	long	int32_t ;
 #endif
 
+#include <math.h>
+
 #define	SRC_MAX_RATIO			256
 #define	SRC_MAX_RATIO_STR		"256"