diff options
-rw-r--r-- | shared-core/drm.h | 4 | ||||
-rw-r--r-- | shared/drm.h | 4 |
2 files changed, 8 insertions, 0 deletions
diff --git a/shared-core/drm.h b/shared-core/drm.h index ce51dfc1..feb9af15 100644 --- a/shared-core/drm.h +++ b/shared-core/drm.h @@ -37,6 +37,10 @@ #ifndef _DRM_H_ #define _DRM_H_ +#ifndef __user +#define __user +#endif + #if defined(__linux__) #include <linux/config.h> #include <asm/ioctl.h> /* For _IO* macros */ diff --git a/shared/drm.h b/shared/drm.h index ce51dfc1..feb9af15 100644 --- a/shared/drm.h +++ b/shared/drm.h @@ -37,6 +37,10 @@ #ifndef _DRM_H_ #define _DRM_H_ +#ifndef __user +#define __user +#endif + #if defined(__linux__) #include <linux/config.h> #include <asm/ioctl.h> /* For _IO* macros */ |