[PATCH] clients: fix build on Linux

Emmanuel Gil Peyrot emmanuel.peyrot at collabora.com
Thu Jan 14 07:01:34 PST 2016

On Thu, Jan 14, 2016 at 02:46:14PM +0100, Olivier Fourdan wrote:
> Cannot find out why stropts.h is needed and Linux doesn't support
> streams anyway, so there is no stropts.h.

POSIX.1-2008 (and likely prior versions), and thus Linux as well,
define ioctl() in this header, so it seems strange it doesn’t exist on
your system.

Linux also defines it in sys/ioctl.h, do you think we should be using
this one instead of the portable header?


Emmanuel Gil Peyrot
Collabora Ltd.

More information about the wayland-devel mailing list