xf86-video-vmware: Changes to 'master'
Thomas Hellstrom
thomash at kemper.freedesktop.org
Tue Oct 14 00:45:08 PDT 2014
vmwgfx/vmwgfx_overlay.c | 1 +
1 file changed, 1 insertion(+)
New commits:
commit 4664412d7a5266d2b392957406b34abc5db95e48
Author: Stefan Dirsch <sndirsch at suse.de>
Date: Tue Oct 7 11:29:32 2014 +0200
xf86xv.h cannot be included without first including xorg-server.h.
Without this the build fails on systems with the latest glibc,
throwing this error:
In file included from /usr/include/string.h:634:0,
from /usr/include/xorg/os.h:53,
from /usr/include/xorg/misc.h:115,
from /usr/include/xorg/screenint.h:50,
from /usr/include/xorg/scrnintstr.h:50,
from /usr/include/xorg/xvdix.h:55,
from /usr/include/xorg/xf86xv.h:32,
from vmwgfx_overlay.c:38:
/usr/include/xorg/os.h:579:1: error: expected identifier or '(' before '__extension__'
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: Stefan Dirsch <sndirsch at suse.de>
Reviewed-by: Daniel Stone <daniels at collabora.com>
Acked-by: Thomas Hellstrom <thellstrom at vmware.com>
More information about the xorg-commit
mailing list