summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/gallium/winsys/intel/drm/intel_drm_winsys.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/winsys/intel/drm/intel_drm_winsys.c b/src/gallium/winsys/intel/drm/intel_drm_winsys.c
index 4d121bb5597..521762d8f90 100644
--- a/src/gallium/winsys/intel/drm/intel_drm_winsys.c
+++ b/src/gallium/winsys/intel/drm/intel_drm_winsys.c
@@ -28,7 +28,7 @@
#include <string.h>
#include <errno.h>
#ifndef ETIME
-#define ETIME ETIMEOUT
+#define ETIME ETIMEDOUT
#endif
#include <xf86drm.h>