mirror of
https://gitlab.freedesktop.org/mesa/drm.git
synced 2025-12-25 21:10:11 +01:00
add back compat for bool
This commit is contained in:
parent
b4094864f1
commit
652bbb77f6
1 changed files with 7 additions and 0 deletions
|
|
@ -60,6 +60,13 @@
|
|||
#if (LINUX_VERSION_CODE < KERNEL_VERSION(2,6,19))
|
||||
#undef DRM_IRQ_ARGS
|
||||
#define DRM_IRQ_ARGS int irq, void *arg, struct pt_regs *regs
|
||||
|
||||
typedef _Bool bool;
|
||||
enum {
|
||||
false = 0,
|
||||
true = 1
|
||||
};
|
||||
|
||||
#endif
|
||||
|
||||
#ifndef list_for_each_safe
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue