summaryrefslogtreecommitdiff
path: root/src/glsl/s_expression.h
diff options
context:
space:
mode:
authorBrian Paul <brianp@vmware.com>2010-12-13 08:41:08 -0700
committerBrian Paul <brianp@vmware.com>2010-12-14 12:38:38 -0700
commitbb10e081c8ddc452bca44ba583f239219a5b9372 (patch)
tree5aaaf091bb32aef3d04cca04cc9acac07f85c2c6 /src/glsl/s_expression.h
parentdfbc20593ec89ef5ddcb0dba3b05ea95e296861e (diff)
glsl: new glsl_strtod() wrapper to fix decimal point interpretation
We always want to use '.' as the decimal point. See http://bugs.freedesktop.org/show_bug.cgi?id=24531 NOTE: this is a candidate for the 7.10 branch.
Diffstat (limited to 'src/glsl/s_expression.h')
-rw-r--r--src/glsl/s_expression.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/glsl/s_expression.h b/src/glsl/s_expression.h
index aa22475a1b..29d800e394 100644
--- a/src/glsl/s_expression.h
+++ b/src/glsl/s_expression.h
@@ -26,6 +26,7 @@
#ifndef S_EXPRESSION_H
#define S_EXPRESSION_H
+#include "strtod.h"
#include "list.h"
#define SX_AS_(t,x) ((x) && ((s_expression*) x)->is_##t()) ? ((s_##t*) (x)) \