[PATCH] intel: Fix missing ETIME on BSD operating systems

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Sat, 10 Nov 2012 00:24:56 -0500
Richard Yao <ryao at cs.stonybrook.edu> wrote:

> From: David Shao <davshao at gmail.com>
> 
> Originally posted to Free Desktop bug #52549 by David Shao.
> Resolves Gentoo Bug #433403.
> Commit message by Richard Yao.
> 
> Reviewed-by: Richard Yao <ryao at gentoo.org>
> Reviewed-by: Kenneth Graunke <kenneth at whitecape.org>

I've pushed this. Please add bug links as "References:" in the future.

Also, I suspect you will want a release as the result of this?

Thanks.

> ---
>  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 <stdbool.h>
>  
>  #include "errno.h"
> +#ifndef ETIME
> +#define ETIME ETIMEDOUT
> +#endif
>  #include "libdrm_lists.h"
>  #include "intel_bufmgr.h"
>  #include "intel_bufmgr_priv.h"



-- 
Ben Widawsky, Intel Open Source Technology Center


[Index of Archives]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]
  Powered by Linux