[linux-dvb] Another compiling issue em28xx-audio.c (fix)
e9hack
e9hack at googlemail.com
Mon Jan 21 23:24:42 CET 2008
Eric schrieb:
> place the line
> '#include <sound/driver.h>'
> before this line
> '#include <sound/core.h>'
> in the emm28xx-audio.c file
>
I think it is a little mistake in compat.h:
diff -r a1c94c4a05f5 v4l/compat.h
--- a/v4l/compat.h Mon Jan 21 14:39:54 2008 -0200
+++ b/v4l/compat.h Mon Jan 21 23:16:02 2008 +0100
@@ -15,7 +15,7 @@
#endif
/* To allow alsa code to work */
-#if LINUX_VERSION_CODE < KERNEL_VERSION(2, 6, 24)
+#if LINUX_VERSION_CODE <= KERNEL_VERSION(2, 6, 24)
#include <sound/driver.h>
#endif
-Hartmut
More information about the linux-dvb
mailing list