From 82bf52fbcdf1e71840c2024bb2bc05a8daeaafad Mon Sep 17 00:00:00 2001 From: Robert Noland Date: Tue, 24 Nov 2009 10:31:41 -0600 Subject: More fixups to allow mesa to build --- include/drm/drm.h | 2 ++ include/drm/mga_drm.h | 2 +- include/drm/via_drm.h | 2 +- 3 files changed, 4 insertions(+), 2 deletions(-) (limited to 'include') diff --git a/include/drm/drm.h b/include/drm/drm.h index 9460e2e7..649c46f3 100644 --- a/include/drm/drm.h +++ b/include/drm/drm.h @@ -46,6 +46,8 @@ typedef unsigned int drm_handle_t; #include #include +typedef int8_t __s8; +typedef uint8_t __u8; typedef int16_t __s16; typedef uint16_t __u16; typedef int32_t __s32; diff --git a/include/drm/mga_drm.h b/include/drm/mga_drm.h index 52632bba..b630e8fa 100644 --- a/include/drm/mga_drm.h +++ b/include/drm/mga_drm.h @@ -35,7 +35,7 @@ #ifndef __MGA_DRM_H__ #define __MGA_DRM_H__ -#include +#include "drm.h" /* WARNING: If you change any of these defines, make sure to change the * defines in the Xserver file (mga_sarea.h) diff --git a/include/drm/via_drm.h b/include/drm/via_drm.h index 535b5583..182f8792 100644 --- a/include/drm/via_drm.h +++ b/include/drm/via_drm.h @@ -24,7 +24,7 @@ #ifndef _VIA_DRM_H_ #define _VIA_DRM_H_ -#include +#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. -- cgit v1.2.3