mirror of
https://gitlab.freedesktop.org/mesa/drm.git
synced 2025-12-20 09:20:09 +01:00
More fixups to allow mesa to build
This commit is contained in:
parent
170674a606
commit
82bf52fbcd
3 changed files with 4 additions and 2 deletions
|
|
@ -46,6 +46,8 @@ typedef unsigned int drm_handle_t;
|
||||||
|
|
||||||
#include <sys/ioccom.h>
|
#include <sys/ioccom.h>
|
||||||
#include <sys/types.h>
|
#include <sys/types.h>
|
||||||
|
typedef int8_t __s8;
|
||||||
|
typedef uint8_t __u8;
|
||||||
typedef int16_t __s16;
|
typedef int16_t __s16;
|
||||||
typedef uint16_t __u16;
|
typedef uint16_t __u16;
|
||||||
typedef int32_t __s32;
|
typedef int32_t __s32;
|
||||||
|
|
|
||||||
|
|
@ -35,7 +35,7 @@
|
||||||
#ifndef __MGA_DRM_H__
|
#ifndef __MGA_DRM_H__
|
||||||
#define __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
|
/* WARNING: If you change any of these defines, make sure to change the
|
||||||
* defines in the Xserver file (mga_sarea.h)
|
* defines in the Xserver file (mga_sarea.h)
|
||||||
|
|
|
||||||
|
|
@ -24,7 +24,7 @@
|
||||||
#ifndef _VIA_DRM_H_
|
#ifndef _VIA_DRM_H_
|
||||||
#define _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.
|
/* WARNING: These defines must be the same as what the Xserver uses.
|
||||||
* if you change them, you must change the defines in the Xserver.
|
* if you change them, you must change the defines in the Xserver.
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue