diff options
Diffstat (limited to 'v4l')
-rw-r--r-- | v4l/compat.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/v4l/compat.h b/v4l/compat.h index cd3a7ac86..1d3400b88 100644 --- a/v4l/compat.h +++ b/v4l/compat.h @@ -14,6 +14,11 @@ #include <linux/i2c-dev.h> #endif +/* To allow alsa code to work */ +#if LINUX_VERSION_CODE < KERNEL_VERSION(2, 6, 24) +#include <sound/driver.h> +#endif + #if LINUX_VERSION_CODE < KERNEL_VERSION(2,6,23) # define set_freezable() #endif |