wrap config.h include with defined for KERNEL
parent
e0fc400b68
commit
bd72c6990f
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue