summaryrefslogtreecommitdiff
path: root/v4l/compat.h
diff options
context:
space:
mode:
Diffstat (limited to 'v4l/compat.h')
-rw-r--r--v4l/compat.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/v4l/compat.h b/v4l/compat.h
index 0352fcd39..257143a6b 100644
--- a/v4l/compat.h
+++ b/v4l/compat.h
@@ -15,7 +15,7 @@
#endif
/* To allow alsa code to work */
-#if LINUX_VERSION_CODE < KERNEL_VERSION(2, 6, 25)
+#ifdef NEED_SOUND_DRIVER_H
#include <sound/driver.h>
#endif