summaryrefslogtreecommitdiff
path: root/shared-core/drm.h
diff options
context:
space:
mode:
Diffstat (limited to 'shared-core/drm.h')
-rw-r--r--shared-core/drm.h4
1 files changed, 4 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 */