summaryrefslogtreecommitdiff
path: root/driver/xf86-video-vmware/vmwgfx/vmwgfx_driver.h
diff options
context:
space:
mode:
Diffstat (limited to 'driver/xf86-video-vmware/vmwgfx/vmwgfx_driver.h')
-rw-r--r--driver/xf86-video-vmware/vmwgfx/vmwgfx_driver.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/driver/xf86-video-vmware/vmwgfx/vmwgfx_driver.h b/driver/xf86-video-vmware/vmwgfx/vmwgfx_driver.h
index 4fcfed6a4..f78a85f4b 100644
--- a/driver/xf86-video-vmware/vmwgfx/vmwgfx_driver.h
+++ b/driver/xf86-video-vmware/vmwgfx/vmwgfx_driver.h
@@ -46,6 +46,7 @@
#include <xa_tracker.h>
#include <xf86Module.h>
+#include "../src/compat-api.h"
#ifdef DRI2
#include <dri2.h>
#if (!defined(DRI2INFOREC_VERSION) || (DRI2INFOREC_VERSION < 3))
@@ -118,9 +119,9 @@ typedef struct _modesettingRec
ScreenBlockHandlerProcPtr saved_BlockHandler;
CreateScreenResourcesProcPtr saved_CreateScreenResources;
CloseScreenProcPtr saved_CloseScreen;
- Bool (*saved_EnterVT)(int, int);
- void (*saved_LeaveVT)(int, int);
- void (*saved_AdjustFrame)(int, int, int, int);
+ Bool (*saved_EnterVT)(VT_FUNC_ARGS_DECL);
+ void (*saved_LeaveVT)(VT_FUNC_ARGS_DECL);
+ void (*saved_AdjustFrame)(ADJUST_FRAME_ARGS_DECL);
Bool (*saved_UseHWCursor)(ScreenPtr, CursorPtr);
Bool (*saved_UseHWCursorARGB)(ScreenPtr, CursorPtr);