[PATCH] tests/kms-steal-crtc: Include sys/select.h

Thierry Reding thierry.reding at gmail.com
Mon Jan 4 00:38:30 PST 2016


On Wed, Dec 30, 2015 at 07:51:55AM +0000, Khem Raj wrote:
> Fixes errors e.g.
> 
> error: implicit declaration of function 'select'
> 
> and missing definitions of FD_* defines
> 
> Signed-off-by: Khem Raj <raj.khem at gmail.com>
> ---
>  tests/kms/kms-steal-crtc.c | 1 +
>  1 file changed, 1 insertion(+)
> 
> diff --git a/tests/kms/kms-steal-crtc.c b/tests/kms/kms-steal-crtc.c
> index 2f7f327..24d70ab 100644
> --- a/tests/kms/kms-steal-crtc.c
> +++ b/tests/kms/kms-steal-crtc.c
> @@ -31,6 +31,7 @@
>  #include <stdio.h>
>  #include <string.h>
>  #include <unistd.h>
> +#include <sys/select.h>

This must be pulled in some other way on my system, but this looks
correct:

Reviewed-by: Thierry Reding <treding at nvidia.com>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: not available
URL: <http://lists.freedesktop.org/archives/dri-devel/attachments/20160104/e3f36a8e/attachment.sig>


More information about the dri-devel mailing list