summaryrefslogtreecommitdiff
path: root/libm/s_floor.c
diff options
context:
space:
mode:
authorDenis Vlasenko <vda.linux@googlemail.com>2008-12-13 01:53:28 +0000
committerDenis Vlasenko <vda.linux@googlemail.com>2008-12-13 01:53:28 +0000
commit0f55c533b6a420ceba46cfe8178880d50b639535 (patch)
treef7db1d44c1048657ffac61cdba0c08ec835e63e6 /libm/s_floor.c
parentabb77f08cc8f6b0d1c9961704e74a2e52d8d838b (diff)
*: document __USE_EXTERN_INLINES better;
fix uclibc build if it is forcibly enabled
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"