do not integrate with kread
[linux-2.6.git] / include / linux / config.h
index 9d1c14f..db6e5ca 100644 (file)
@@ -1,6 +1,11 @@
 #ifndef _LINUX_CONFIG_H
 #define _LINUX_CONFIG_H
-
+/* This file is no longer in use and kept only for backward compatibility.
+ * autoconf.h is now included via -imacros on the commandline
+ */
+#warning Including config.h is deprecated.
 #include <linux/autoconf.h>
-
+#if !defined (__KERNEL__) && !defined(__KERNGLUE__)
+#error including kernel header in userspace; use the glibc headers instead!
+#endif
 #endif