From 38234739e57475229895c4a30849e0e5de985d9a Mon Sep 17 00:00:00 2001 From: Vincent Wei Date: Wed, 20 Nov 2019 10:33:40 +0800 Subject: [PATCH] add a new argument to __dri_ex_driver_get: device_fd --- include/exstubs.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/include/exstubs.h b/include/exstubs.h index 1be22945..3bc9f898 100644 --- a/include/exstubs.h +++ b/include/exstubs.h @@ -62,6 +62,8 @@ #ifndef GUI_EXSTUBS_H #define GUI_EXSTUBS_H +#include + /** * \defgroup external_stubs External Stubs * @@ -76,8 +78,6 @@ extern "C" { #ifdef _MGGAL_DRI -#include - /** * \defgroup external_stubs_dri External Stubs for DRI sub driver * @@ -305,7 +305,7 @@ typedef struct _DriDriverOps { } DriDriverOps; /** Implement this stub to return the DRI driver operations */ -DriDriverOps* __dri_ex_driver_get (const char* driver_name); +DriDriverOps* __dri_ex_driver_get (const char* driver_name, int device_fd); /** @} end of external_stubs_dri */