diff options
author | Jon Turney <[email protected]> | 2017-12-02 17:05:43 +0000 |
---|---|---|
committer | Jon Turney <[email protected]> | 2018-02-01 15:14:02 +0000 |
commit | b37b7b42dcc33d636c3db0558d032d7d95664c56 (patch) | |
tree | 792c9d5842305d1e81d5d4192f0104d2d6d40fd3 /src/glx/apple/apple_visual.c | |
parent | f8ed9f24d5eac1549e480dd0348d091b4299302e (diff) |
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 <[email protected]>
Reviewed-by: Emil Velikov <[email protected]>
Diffstat (limited to 'src/glx/apple/apple_visual.c')
-rw-r--r-- | src/glx/apple/apple_visual.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/glx/apple/apple_visual.c b/src/glx/apple/apple_visual.c index d482bfc4e71..4a90d77c3a5 100644 --- a/src/glx/apple/apple_visual.c +++ b/src/glx/apple/apple_visual.c @@ -32,6 +32,7 @@ #include <stdlib.h> #include <assert.h> #include <GL/gl.h> +#include <util/debug.h> /* <rdar://problem/6953344> */ #define glTexImage1D glTexImage1D_OSX |