Re: [PATCH i-g-t] lib: Add missing include for sync()

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

 



On Tue, Nov 15, 2016 at 02:34:42PM +0200, Petri Latvala wrote:
> Commit 721d8747e3a2 added sync() calls to igt_main and
> igt_simple_main, making self-tests fail to build. #including unistd.h
> in igt_core.h fixes that.
> 
> Fixes: 721d8747e3a2 ("igt: Add a test for reordering execbufs")
> CC: Chris Wilson <chris@xxxxxxxxxxxxxxxxxx>
> Signed-off-by: Petri Latvala <petri.latvala@xxxxxxxxx>
> ---
>  lib/igt_core.h | 1 +
>  1 file changed, 1 insertion(+)
> 
> diff --git a/lib/igt_core.h b/lib/igt_core.h
> index dd7fc12..661a634 100644
> --- a/lib/igt_core.h
> +++ b/lib/igt_core.h
> @@ -39,6 +39,7 @@
>  #include <sys/types.h>
>  #include <stdarg.h>
>  #include <getopt.h>
> +#include <unistd.h>

Reviewed-by: Chris Wilson <chris@xxxxxxxxxxxxxxxxxx>
-Chris

-- 
Chris Wilson, Intel Open Source Technology Centre
_______________________________________________
Intel-gfx mailing list
Intel-gfx@xxxxxxxxxxxxxxxxxxxxx
https://lists.freedesktop.org/mailman/listinfo/intel-gfx




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