From mboxrd@z Thu Jan 1 00:00:00 1970 From: Richard Yao Subject: [PATCH] intel: Fix missing ETIME on BSD operating systems Date: Fri, 9 Nov 2012 17:06:48 -0500 Message-ID: <1352498808-8235-1-git-send-email-ryao@gentoo.org> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) by gabe.freedesktop.org (Postfix) with ESMTP id 457579E710 for ; Fri, 9 Nov 2012 14:09:40 -0800 (PST) List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: intel-gfx-bounces+gcfxdi-intel-gfx=m.gmane.org@lists.freedesktop.org Errors-To: intel-gfx-bounces+gcfxdi-intel-gfx=m.gmane.org@lists.freedesktop.org To: intel-gfx@lists.freedesktop.org Cc: gentoo-bsd@lists.gentoo.org, David Shao List-Id: intel-gfx@lists.freedesktop.org From: David Shao Originally posted to Free Desktop bug #52549 by David Shao. Resolves Gentoo Bug #433403. Commit message by Richard Yao. Reviewed-by: Richard Yao Reviewed-by: Kenneth Graunke --- intel/intel_bufmgr_gem.c | 3 +++ 1 files changed, 3 insertions(+), 0 deletions(-) diff --git a/intel/intel_bufmgr_gem.c b/intel/intel_bufmgr_gem.c index 8d45839..512bc6f 100644 --- a/intel/intel_bufmgr_gem.c +++ b/intel/intel_bufmgr_gem.c @@ -54,6 +54,9 @@ #include #include "errno.h" +#ifndef ETIME +#define ETIME ETIMEDOUT +#endif #include "libdrm_lists.h" #include "intel_bufmgr.h" #include "intel_bufmgr_priv.h" -- 1.7.8.6