Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 850eb83a authored by Dave Airlie's avatar Dave Airlie Committed by Dave Airlie
Browse files

drm: wrap config.h include in a ifdef KERNEL



This file can be included from userspace so wrap the config.h include.

Signed-off-by: default avatarDavid Airlie <airlied@linux.ie>
parent c94f7029
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -38,7 +38,9 @@
#define _DRM_H_

#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