[PATCH] client: Include poll.h instead of sys/poll.h
Bryce W. Harrington
b.harrington at samsung.com
Tue Jan 14 14:02:38 PST 2014
On Tue, Jan 14, 2014 at 06:38:59PM +0100, Jonas 'Sortie' Termansen wrote:
> POSIX mandates the poll.h header as the standard location of poll(2).
A casual googling indicates this is true.
Reviewed-by: Bryce Harrington <b.harrington at samsung.com>
> ---
> src/wayland-client.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/src/wayland-client.c b/src/wayland-client.c
> index 363d5dd..bbf93ee 100644
> --- a/src/wayland-client.c
> +++ b/src/wayland-client.c
> @@ -36,7 +36,7 @@
> #include <ctype.h>
> #include <assert.h>
> #include <fcntl.h>
> -#include <sys/poll.h>
> +#include <poll.h>
> #include <pthread.h>
>
> #include "wayland-util.h"
> --
> 1.7.10.4
>
> _______________________________________________
> wayland-devel mailing list
> wayland-devel at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/wayland-devel
More information about the wayland-devel
mailing list