More fixups to allow mesa to build
authorRobert Noland <rnoland@2hip.net>
Tue, 24 Nov 2009 16:31:41 +0000 (10:31 -0600)
committerRobert Noland <rnoland@2hip.net>
Tue, 24 Nov 2009 16:31:41 +0000 (10:31 -0600)
include/drm/drm.h
include/drm/mga_drm.h
include/drm/via_drm.h

index 9460e2e..649c46f 100644 (file)
@@ -46,6 +46,8 @@ typedef unsigned int drm_handle_t;
 
 #include <sys/ioccom.h>
 #include <sys/types.h>
+typedef int8_t   __s8;
+typedef uint8_t  __u8;
 typedef int16_t  __s16;
 typedef uint16_t __u16;
 typedef int32_t  __s32;
index 52632bb..b630e8f 100644 (file)
@@ -35,7 +35,7 @@
 #ifndef __MGA_DRM_H__
 #define __MGA_DRM_H__
 
-#include <linux/types.h>
+#include "drm.h"
 
 /* WARNING: If you change any of these defines, make sure to change the
  * defines in the Xserver file (mga_sarea.h)
index 535b558..182f879 100644 (file)
@@ -24,7 +24,7 @@
 #ifndef _VIA_DRM_H_
 #define _VIA_DRM_H_
 
-#include <linux/types.h>
+#include "drm.h"
 
 /* WARNING: These defines must be the same as what the Xserver uses.
  * if you change them, you must change the defines in the Xserver.