File qc-usb-BIT.patch of Package quickcam

---
 quickcam.h |    2 ++
 1 file changed, 2 insertions(+)

--- a/quickcam.h
+++ b/quickcam.h
@@ -126,7 +126,9 @@ struct qc_userlut {
 #define FALSE			0
 #define TRUE			(!FALSE)
 typedef unsigned char Bool;
+#if LINUX_VERSION_CODE < KERNEL_VERSION(2,6,24)
 #define BIT(x)		(1<<(x))
+#endif
 #define SIZE(a)		(sizeof(a)/sizeof((a)[0]))
 #define MAX(a,b)	((a)>(b)?(a):(b))
 #define MIN(a,b)	((a)<(b)?(a):(b))
openSUSE Build Service is sponsored by