Fix build when configured --enable-debug
authorJon TURNEY <jon.turney@dronecode.org.uk>
Mon, 24 Mar 2014 17:32:10 +0000 (17:32 +0000)
committerJon TURNEY <jon.turney@dronecode.org.uk>
Thu, 27 Mar 2014 14:34:32 +0000 (14:34 +0000)
commita3730271d52542757ec0f41acc29e7730501f666
tree78bad168a0e86335d4da0834e2e7b2eab296e4ed
parent5870bd398d6073938d821c060eccf24adc07a2f1
Fix build when configured --enable-debug

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@dronecode.org.uk>
Reviewed-by: Julien Cristau <jcristau@debian.org>
hw/xfree86/parser/DRI.c
hw/xfree86/parser/Extensions.c