diff options
Diffstat (limited to 'include/linux/types.h')
| -rw-r--r-- | include/linux/types.h | 5 | 
1 files changed, 4 insertions, 1 deletions
diff --git a/include/linux/types.h b/include/linux/types.h index 336cc39c46f..01a082f56ef 100644 --- a/include/linux/types.h +++ b/include/linux/types.h @@ -8,7 +8,10 @@  #define DECLARE_BITMAP(name,bits) \  	unsigned long name[BITS_TO_LONGS(bits)] - +#else +#ifndef __EXPORTED_HEADERS__ +#warning "Attempt to use kernel headers from user space, see http://kernelnewbies.org/KernelHeaders" +#endif /* __EXPORTED_HEADERS__ */  #endif  #include <linux/posix_types.h>  |