summaryrefslogtreecommitdiff
path: root/libm/s_floor.c
diff options
context:
space:
mode:
Diffstat (limited to 'libm/s_floor.c')
-rw-r--r--libm/s_floor.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/libm/s_floor.c b/libm/s_floor.c
index 1eccfcd8c..c9bc2a0d0 100644
--- a/libm/s_floor.c
+++ b/libm/s_floor.c
@@ -23,6 +23,9 @@ static char rcsid[] = "$NetBSD: s_floor.c,v 1.8 1995/05/10 20:47:20 jtc Exp $";
* Inexact flag raised if x not equal to floor(x).
*/
+#include <features.h>
+/* Prevent math.h from defining a colliding inline */
+#undef __USE_EXTERN_INLINES
#include "math.h"
#include "math_private.h"