Force erroneous inclusions of compiler-*.h files to be errors
[linux-2.6.git] / include / linux / compiler-intel.h
index b769961..d8e636e 100644 (file)
@@ -1,4 +1,6 @@
-/* Never include this file directly.  Include <linux/compiler.h> instead.  */
+#ifndef __LINUX_COMPILER_H
+#error "Please don't include <linux/compiler-intel.h> directly, include <linux/compiler.h> instead."
+#endif
 
 #ifdef __ECC