shithub: sox

Download patch

ref: 3022c5032571d1d3c9757983a4d178a72c14c50d
parent: f483e1a8fd66a0c6cd40446b4aeb5e842a3ea79d
author: cbagwell <cbagwell>
date: Wed Nov 21 10:36:25 EST 2001

Adding errno.h to alsa driver.

--- a/Changelog
+++ b/Changelog
@@ -47,6 +47,7 @@
   o Change configure script to enable ulaw/alaw lookup tables and GSM
     support by default.  Also have Makefile's make use of more configure
     prefix options to allow for customized installs.
+  o Reverted ulaw/alaw conversion routines back to Sun's versions.
 
 sox-12.17.2
 -----------
--- a/src/alsa.c
+++ b/src/alsa.c
@@ -17,6 +17,9 @@
 #include <fcntl.h>
 #include <linux/asound.h>
 #include <sys/ioctl.h>
+#ifdef HAVE_ERRNO_H
+#include <errno.h>
+#endif
 #include "st_i.h"
 
 static int get_format(ft_t ft, int formats, int *fmt);