[PATCH] vmmouse_client.h: Include xorg-server.h before xf86_OSproc.h

Daniel Stone daniel at fooishbar.org
Tue Oct 7 04:03:50 PDT 2014


On 7 October 2014 10:32, Stefan Dirsch <sndirsch at suse.de> wrote:

> xf86_OSproc.h cannot be included without first including xorg-server.h.
>
> Without this the build fails on systems with the latest glibc,
> throwing this error:
> [...]
>
> This is caused by HAVE_STRNDUP not being set (it is set from
> xorg-server.h),
> causing os.h to redefine it.
>
> Signed-off-by: Stefan Dirsch <sndirsch at suse.de>
>

Reviewed-by: Daniel Stone <daniels at collabora.com>

(But I do wish these wrappers weren't part of the public API ... !)

Cheers,
Daniel
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.x.org/archives/xorg-devel/attachments/20141007/f428c995/attachment.html>


More information about the xorg-devel mailing list