summaryrefslogtreecommitdiff
blob: 17d6314746aa5958b47be628a7a8dc65e67f9540 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
diff -ur qc-usb-messenger-1.5.orig/quickcam.h qc-usb-messenger-1.5/quickcam.h
--- qc-usb-messenger-1.5.orig/quickcam.h	2006-11-05 08:36:13.000000000 +0200
+++ qc-usb-messenger-1.5/quickcam.h	2006-12-07 20:23:30.000000000 +0200
@@ -90,9 +90,12 @@
 
 #ifdef __KERNEL__
 
-#include <linux/config.h>
 #include <linux/version.h>
 
+#if LINUX_VERSION_CODE < KERNEL_VERSION(2, 6, 19)
+#include <linux/config.h>
+#endif
+
 #ifdef CONFIG_SMP
 #define __SMP__
 #endif