diff options
Diffstat (limited to 'drivers/char/drm/drm.h')
-rw-r--r-- | drivers/char/drm/drm.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/char/drm/drm.h b/drivers/char/drm/drm.h index 587305282ea8..e8371dd87fbc 100644 --- a/drivers/char/drm/drm.h +++ b/drivers/char/drm/drm.h | |||
@@ -38,7 +38,9 @@ | |||
38 | #define _DRM_H_ | 38 | #define _DRM_H_ |
39 | 39 | ||
40 | #if defined(__linux__) | 40 | #if defined(__linux__) |
41 | #if defined(__KERNEL__) | ||
41 | #include <linux/config.h> | 42 | #include <linux/config.h> |
43 | #endif | ||
42 | #include <asm/ioctl.h> /* For _IO* macros */ | 44 | #include <asm/ioctl.h> /* For _IO* macros */ |
43 | #define DRM_IOCTL_NR(n) _IOC_NR(n) | 45 | #define DRM_IOCTL_NR(n) _IOC_NR(n) |
44 | #define DRM_IOC_VOID _IOC_NONE | 46 | #define DRM_IOC_VOID _IOC_NONE |