summaryrefslogtreecommitdiffstats
path: root/third_party/rust/glslopt/glsl-optimizer/src/util
diff options
context:
space:
mode:
Diffstat (limited to 'third_party/rust/glslopt/glsl-optimizer/src/util')
-rw-r--r--third_party/rust/glslopt/glsl-optimizer/src/util/rounding.h3
-rw-r--r--third_party/rust/glslopt/glsl-optimizer/src/util/u_math.h3
2 files changed, 2 insertions, 4 deletions
diff --git a/third_party/rust/glslopt/glsl-optimizer/src/util/rounding.h b/third_party/rust/glslopt/glsl-optimizer/src/util/rounding.h
index e329d43824..f897ec7969 100644
--- a/third_party/rust/glslopt/glsl-optimizer/src/util/rounding.h
+++ b/third_party/rust/glslopt/glsl-optimizer/src/util/rounding.h
@@ -24,9 +24,8 @@
#ifndef _ROUNDING_H
#define _ROUNDING_H
-#include "c99_math.h"
-
#include <limits.h>
+#include <math.h>
#include <stdint.h>
#if defined(__SSE__) || (defined(_M_IX86_FP) && (_M_IX86_FP >= 1)) || defined(_M_X64)
diff --git a/third_party/rust/glslopt/glsl-optimizer/src/util/u_math.h b/third_party/rust/glslopt/glsl-optimizer/src/util/u_math.h
index 59266c1692..42d9e348ec 100644
--- a/third_party/rust/glslopt/glsl-optimizer/src/util/u_math.h
+++ b/third_party/rust/glslopt/glsl-optimizer/src/util/u_math.h
@@ -38,10 +38,9 @@
#ifndef U_MATH_H
#define U_MATH_H
-
-#include "c99_math.h"
#include <assert.h>
#include <float.h>
+#include <math.h>
#include <stdarg.h>
#include "bitscan.h"