aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRobert Noland2009-11-24 10:31:41 -0600
committerRobert Noland2009-11-24 10:31:41 -0600
commit82bf52fbcdf1e71840c2024bb2bc05a8daeaafad (patch)
tree1c26a7d629e13637105c88cd0db5659aef287cf7
parent170674a606f6d7869b5fa4457c07e10dd27f2771 (diff)
downloadexternal-libdrm-82bf52fbcdf1e71840c2024bb2bc05a8daeaafad.tar.gz
external-libdrm-82bf52fbcdf1e71840c2024bb2bc05a8daeaafad.tar.xz
external-libdrm-82bf52fbcdf1e71840c2024bb2bc05a8daeaafad.zip
More fixups to allow mesa to build
-rw-r--r--include/drm/drm.h2
-rw-r--r--include/drm/mga_drm.h2
-rw-r--r--include/drm/via_drm.h2
3 files changed, 4 insertions, 2 deletions
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;
46 46
47#include <sys/ioccom.h> 47#include <sys/ioccom.h>
48#include <sys/types.h> 48#include <sys/types.h>
49typedef int8_t __s8;
50typedef uint8_t __u8;
49typedef int16_t __s16; 51typedef int16_t __s16;
50typedef uint16_t __u16; 52typedef uint16_t __u16;
51typedef int32_t __s32; 53typedef 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 @@
35#ifndef __MGA_DRM_H__ 35#ifndef __MGA_DRM_H__
36#define __MGA_DRM_H__ 36#define __MGA_DRM_H__
37 37
38#include <linux/types.h> 38#include "drm.h"
39 39
40/* WARNING: If you change any of these defines, make sure to change the 40/* WARNING: If you change any of these defines, make sure to change the
41 * defines in the Xserver file (mga_sarea.h) 41 * 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 @@
24#ifndef _VIA_DRM_H_ 24#ifndef _VIA_DRM_H_
25#define _VIA_DRM_H_ 25#define _VIA_DRM_H_
26 26
27#include <linux/types.h> 27#include "drm.h"
28 28
29/* WARNING: These defines must be the same as what the Xserver uses. 29/* WARNING: These defines must be the same as what the Xserver uses.
30 * if you change them, you must change the defines in the Xserver. 30 * if you change them, you must change the defines in the Xserver.