Skip to contentSkip to conversation

intel: Fix missing ETIME on BSD operating systems

PATCH New Richard Yao 1 participant 1 message Nov 9, 2012

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 intel: Fix missing ETIME on BSD operating systems

From: David Shao <[email protected]>

Originally posted to Free Desktop bug #52549 by David Shao. Resolves Gentoo Bug #433403.
Commit message by Richard Yao.

---
 intel/intel_bufmgr_gem.c |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)
intel/intel_bufmgr_gem.c +3 -0
index 8d45839..512bc6f 100644
@@ -54,6 +54,9 @@
 #include <stdbool.h>
 
 #include "errno.h"
+#ifndef ETIME
+#define ETIME ETIMEDOUT
+#endif
 #include "libdrm_lists.h"
 #include "intel_bufmgr.h"
 #include "intel_bufmgr_priv.h"
Signature · 1 line
1.7.8.6