[PATCH 2/2] Fix build when configured --enable-debug
Julien Cristau
jcristau at debian.org
Wed Mar 26 15:42:24 PDT 2014
On Mon, Mar 24, 2014 at 17:32:10 +0000, Jon TURNEY wrote:
> Include os.h for ErrorF() to fix implicit-function-declaration warnings when
> configured with --enable-debug.
>
> hw/xfree86/parser/DRI.c: In function 'xf86parseDRISection':
> hw/xfree86/parser/DRI.c:87:5: error: implicit declaration of function 'ErrorF' [-Werror=implicit-function-declaration]
> hw/xfree86/parser/Extensions.c: In function 'xf86parseExtensionsSection':
> hw/xfree86/parser/Extensions.c:77:5: error: implicit declaration of function 'ErrorF' [-Werror=implicit-function-declaration]
>
> Signed-off-by: Jon TURNEY <jon.turney at dronecode.org.uk>
> ---
> hw/xfree86/parser/DRI.c | 1 +
> hw/xfree86/parser/Extensions.c | 1 +
> 2 files changed, 2 insertions(+)
>
Reviewed-by: Julien Cristau <jcristau at debian.org>
Cheers,
Julien
More information about the xorg-devel
mailing list