On 28.07.2014 22:55, Hans de Goede wrote:
> glamor.h cannot be included without first including xorg-server.h, this also
> applies to including it from configure snippets.
>
> Without this the configure glamor checks fail on systems with the latest
> glibc, throwing this error:
>
> In file included from /usr/include/xorg/misc.h:115:0,
> from /usr/include/xorg/screenint.h:50,
> from /usr/include/xorg/scrnintstr.h:50,
> from /usr/include/xorg/glamor.h:32,
> from conftest.c:61:
> /usr/include/xorg/os.h:579:2: error: expected identifier or '(' before
> '__exten
> strndup(const char *str, size_t n);
> ^
>
> 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: Hans de Goede <[email protected]>
Pushed, thanks!
--
Earthling Michel Dänzer | http://www.amd.com
Libre software enthusiast | Mesa and X developer
_______________________________________________
[email protected]: X.Org development
Archives: http://lists.x.org/archives/xorg-devel
Info: http://lists.x.org/mailman/listinfo/xorg-devel