diff -ruaN qc-usb-0.6.5.orig/qc-memory.c qc-usb-0.6.5/qc-memory.c
--- qc-usb-0.6.5.orig/qc-memory.c	2005-03-20 18:00:45.000000000 -0500
+++ qc-usb-0.6.5/qc-memory.c	2007-01-13 10:50:24.000000000 -0500
@@ -27,7 +27,7 @@
  */
 /* }}} */
 /* {{{ [fold] Includes */
-#include <linux/config.h>
+#include <linux/autoconf.h>
 #include <linux/version.h>
 
 #ifdef CONFIG_SMP
diff -ruaN qc-usb-0.6.5.orig/quickcam.h qc-usb-0.6.5/quickcam.h
--- qc-usb-0.6.5.orig/quickcam.h	2006-10-23 22:07:42.000000000 -0400
+++ qc-usb-0.6.5/quickcam.h	2007-01-13 10:50:45.000000000 -0500
@@ -76,7 +76,7 @@
 
 #ifdef __KERNEL__
 
-#include <linux/config.h>
+#include <linux/autoconf.h>
 #include <linux/version.h>
 
 #ifdef CONFIG_SMP
