diff options
author | root <root@Austin-Develop.localdomain> | 2009-05-15 11:51:32 +0800 |
---|---|---|
committer | root <root@Austin-Develop.localdomain> | 2009-05-15 11:51:32 +0800 |
commit | 39c8b4b326635eb560a8c25f2aee26dffaf44288 (patch) | |
tree | 3545e41e0a2681bae5ec78cd432495aa7f2745f7 | |
parent | b817eb2feb0f691dfcf543f2f3d1f7bba415b878 (diff) | |
download | libva-39c8b4b326635eb560a8c25f2aee26dffaf44288.tar.gz |
Make libva pass compilation with old DRI2 proto which dri2tokens.h hasn't DRI2DriverDRI definition
Signed-off-by: root <root@Austin-Develop.localdomain>
-rw-r--r-- | src/X11/va_dri2.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/X11/va_dri2.c b/src/X11/va_dri2.c index 9943379..c2d014d 100644 --- a/src/X11/va_dri2.c +++ b/src/X11/va_dri2.c @@ -37,8 +37,13 @@ #include <X11/extensions/extutil.h> #include "xf86drm.h" #include "va_dri2.h" +#include "va_dri2tokens.h" #include "va_dri2str.h" +#ifndef DRI2DriverDRI +#define DRI2DriverDRI 0 +#endif + static char va_dri2ExtensionName[] = DRI2_NAME; static XExtensionInfo _va_dri2_info_data; static XExtensionInfo *va_dri2Info = &_va_dri2_info_data; |