mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-01-01 20:30:12 +01:00
i965/drm: Make libdrm_lists.h compile by defining typeof.
typeof doesn't seem to exist, so this won't compile (but we don't yet try). Define it to __typeof__. This code is going to die soon anyway. Acked-by: Jason Ekstrand <jason@jlekstrand.net>
This commit is contained in:
parent
b97c7ef4c8
commit
d614135e95
1 changed files with 4 additions and 0 deletions
|
|
@ -31,6 +31,10 @@
|
|||
|
||||
#include <stddef.h>
|
||||
|
||||
#ifndef typeof
|
||||
#define typeof __typeof__
|
||||
#endif
|
||||
|
||||
typedef struct _drmMMListHead
|
||||
{
|
||||
struct _drmMMListHead *prev;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue