check for __user if not there define it

main
Dave Airlie 2004-07-25 08:57:15 +00:00
parent 02df04d71d
commit 862fcee057
2 changed files with 8 additions and 0 deletions

View File

@ -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 */

View File

@ -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 */