aboutsummaryrefslogtreecommitdiffstats
path: root/include/math_defs.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/math_defs.h')
-rw-r--r--include/math_defs.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/math_defs.h b/include/math_defs.h
index d3c8b1b4..149cf80b 100644
--- a/include/math_defs.h
+++ b/include/math_defs.h
@@ -1,6 +1,10 @@
#ifndef AL_MATH_DEFS_H
#define AL_MATH_DEFS_H
+#ifdef HAVE_FLOAT_H
+#include <float.h>
+#endif
+
#define F_PI (3.14159265358979323846f)
#define F_PI_2 (1.57079632679489661923f)
#define F_TAU (6.28318530717958647692f)