xf86-video-geode: Changes to 'master'
Martin-Ãric Racine
q-funk at kemper.freedesktop.org
Mon Jan 2 08:14:03 PST 2012
src/z4l.c | 2 --
1 file changed, 2 deletions(-)
New commits:
commit 048c67d6f351083741ef68e94a278a445c16436d
Author: Martin-Ãric Racine <martin-eric.racine at iki.fi>
Date: Mon Jan 2 17:49:10 2012 +0200
z4l.c: drop unnecessary #include linux/types.h
On hybrid platforms, such as Debian GNU/KFreeBSD, that support V4L2
and yet without providing the full complement of Linux headers, ZTV
fails to compile because of this missing header.
Given how removing this header does not adversely affect compiling,
plus it might improve portability, we went ahead and removed it.
Nonetheless, as observed by Gaetan Nadon, z4l.c includes code that
explicitly disables the module on any OS other than Linux:
LoaderGetOS(&osname, NULL, NULL, NULL);
if (osname == NULL || strcmp(osname, "linux") != 0) {
if (errmaj)
*errmaj = LDR_BADOS;
if (errmin)
*errmin = 0;
return NULL;
}
Still, in the interest of OS neutrality, we decided to leave recent
autoconf magic in place and to let OS vendors figure out how to get
the module loaded on non-Linux OS themselves. Patches are welcome.
Signed-off-by: Martin-Ãric Racine <martin-eric.racine at iki.fi>
More information about the xorg-commit
mailing list