diff options
author | Ian Romanick <[email protected]> | 2010-08-12 17:57:07 -0700 |
---|---|---|
committer | José Fonseca <[email protected]> | 2010-08-23 20:55:50 +0100 |
commit | 6dad5a4e8d5c4ea90bb9342e329defb9c8eb2092 (patch) | |
tree | c7f239a82a4307fb8a116d65551d6ab60de3797e /src/glsl | |
parent | 44a6c13ac33fc00fc4d0cf7435ac23eaa8058300 (diff) |
glsl2: Include imports.h to get snprintf wrapper for MSVC
Signed-off-by: José Fonseca <[email protected]>
Diffstat (limited to 'src/glsl')
-rw-r--r-- | src/glsl/glsl_types.cpp | 1 | ||||
-rw-r--r-- | src/glsl/ir_explog_to_explog2.cpp | 2 |
2 files changed, 2 insertions, 1 deletions
diff --git a/src/glsl/glsl_types.cpp b/src/glsl/glsl_types.cpp index 8e80cf99e96..518abc959d8 100644 --- a/src/glsl/glsl_types.cpp +++ b/src/glsl/glsl_types.cpp @@ -29,6 +29,7 @@ #include "glsl_types.h" #include "builtin_types.h" extern "C" { +#include "main/imports.h" #include "program/hash_table.h" } diff --git a/src/glsl/ir_explog_to_explog2.cpp b/src/glsl/ir_explog_to_explog2.cpp index 4fe1daaee91..9bf82710812 100644 --- a/src/glsl/ir_explog_to_explog2.cpp +++ b/src/glsl/ir_explog_to_explog2.cpp @@ -29,7 +29,7 @@ * and log2 operations. */ -#include <math.h> +#include "main/imports.h" #include "ir.h" #include "glsl_types.h" |