diff options
-rw-r--r-- | shared-core/drm.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/shared-core/drm.h b/shared-core/drm.h index e0b6e5e1..d54a7687 100644 --- a/shared-core/drm.h +++ b/shared-core/drm.h @@ -63,7 +63,9 @@ #endif #if defined(__linux__) +#if defined(__KERNEL__) #include <linux/config.h> +#endif #include <asm/ioctl.h> /* For _IO* macros */ #define DRM_IOCTL_NR(n) _IOC_NR(n) #define DRM_IOC_VOID _IOC_NONE |