summaryrefslogtreecommitdiff
path: root/src/mesa/drivers/x11/xm_dd.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/mesa/drivers/x11/xm_dd.c')
-rw-r--r--src/mesa/drivers/x11/xm_dd.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/mesa/drivers/x11/xm_dd.c b/src/mesa/drivers/x11/xm_dd.c
index fcfe32ed42..3e7174ab92 100644
--- a/src/mesa/drivers/x11/xm_dd.c
+++ b/src/mesa/drivers/x11/xm_dd.c
@@ -1179,6 +1179,9 @@ xmesa_begin_query(GLcontext *ctx, GLenum target, struct gl_query_object *q)
/**
* Return the difference between the two given times in microseconds.
*/
+#ifdef __VMS
+#define suseconds_t unsigned int
+#endif
static unsigned int
time_diff(const struct timeval *t0, const struct timeval *t1)
{