changeset 3347:316f3f347b4f

[xemacs-hg @ 2006-04-18 17:28:30 by james] Fix ALSA library version detection for older versions of the library. See xemacs-patches message <m3y7y2ssjq.fsf@jerrypc.cs.usu.edu>.
author james
date Tue, 18 Apr 2006 17:28:32 +0000
parents 0053328b3ea6
children 9fe31f502171
files src/ChangeLog src/alsaplay.c
diffstat 2 files changed, 6 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/src/ChangeLog	Mon Apr 17 21:51:07 2006 +0000
+++ b/src/ChangeLog	Tue Apr 18 17:28:32 2006 +0000
@@ -1,3 +1,8 @@
+2006-04-18  Jerry James  <james@xemacs.org>
+
+	* alsaplay.c: Explicitly include ALSA's version.h for older
+	versions of the library.  Thanks to Ilya Golubev.
+
 2006-04-16  Aidan Kehoe  <kehoea@parhasard.net>
 
 	* data.c (Fconsp):
--- a/src/alsaplay.c	Mon Apr 17 21:51:07 2006 +0000
+++ b/src/alsaplay.c	Tue Apr 18 17:28:32 2006 +0000
@@ -30,6 +30,7 @@
 /* We can't just include <alsa/asoundlib.h> because it tries to redefine
  * several symbols defined by the previous header files.
  */
+#include <alsa/version.h>
 #include <alsa/input.h>
 #include <alsa/output.h>
 #include <alsa/conf.h>