[alsa-devel] [PATCH 3/3] hdsploader: Temporary define for RPM

Adrian Knoth adi at drcomp.erfurt.thur.de
Thu Jul 28 23:45:48 CEST 2011

Right now (, alsa-lib's hdsp.h doesn't know about the RPM. To
avoid a strong dependency on unreleased code, temporary provide the
define here.

It can be dropped as soon as a new version of alsa-lib will be released,
thus effectively making it the required minimum version for alsa-tools.

Signed-off-by: Adrian Knoth <adi at drcomp.erfurt.thur.de>

diff --git a/hdsploader/hdsploader.c b/hdsploader/hdsploader.c
index fa488a2..bfbe3bc 100644
--- a/hdsploader/hdsploader.c
+++ b/hdsploader/hdsploader.c
@@ -27,6 +27,10 @@
 static u_int32_t code[24413];
+#ifndef RPM
+# define RPM	5
 int read_bin_file(u_int32_t *array, const char *filename)
 	FILE *out;

More information about the Alsa-devel mailing list