glx/apple: include util/debug.h for env_var_as_boolean prototype
authorJon Turney <jon.turney@dronecode.org.uk>
Sat, 2 Dec 2017 17:05:43 +0000 (17:05 +0000)
committerJon Turney <jon.turney@dronecode.org.uk>
Thu, 1 Feb 2018 15:14:02 +0000 (15:14 +0000)
commitb37b7b42dcc33d636c3db0558d032d7d95664c56
tree792c9d5842305d1e81d5d4192f0104d2d6d40fd3
parentf8ed9f24d5eac1549e480dd0348d091b4299302e
glx/apple: include util/debug.h for env_var_as_boolean prototype

mesa/src/glx/glxcmds.c:1295:21: error: implicit declaration of function 'env_var_as_boolean' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
mesa/src/glx/apple/apple_visual.c:85:28: error: implicit declaration of function 'env_var_as_boolean' is invalid in C99 [-Werror,-Wimplicit-function-declaration]

Signed-off-by: Jon Turney <jon.turney@dronecode.org.uk>
Reviewed-by: Emil Velikov <emil.velikov@collabora.com>
src/glx/apple/apple_visual.c
src/glx/glxcmds.c