APPROVE COMMIT 21.5
This falls under the "obviously correct" rule. As reported by Ilya
Golubev, older versions of the ALSA library do not pull alsa/version.h
in from the headers we already include in alsaplay.h.
src/ChangeLog addition:
2006-04-18 Jerry James <james(a)xemacs.org>
* alsaplay.c: Explicitly include ALSA's version.h for older
versions of the library. Thanks to Ilya Golubev.
xemacs-21.5 source patch:
Diff command: cvs -q diff -uN
Files affected: src/alsaplay.c
Index: src/alsaplay.c
===================================================================
RCS file: /pack/xemacscvs/XEmacs/xemacs/src/alsaplay.c,v
retrieving revision 1.2
diff -d -u -r1.2 alsaplay.c
--- src/alsaplay.c 2006/04/10 15:16:47 1.2
+++ src/alsaplay.c 2006/04/18 17:25:15
@@ -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>
--
Jerry James, Assistant Professor james(a)xemacs.org
Computer Science Department
http://www.cs.usu.edu/~jerry/
Utah State University