summaryrefslogtreecommitdiff
path: root/libm/s_lrint.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_lrint.c
parentabb77f08cc8f6b0d1c9961704e74a2e52d8d838b (diff)
*: document __USE_EXTERN_INLINES better;
fix uclibc build if it is forcibly enabled
Diffstat (limited to 'libm/s_lrint.c')
-rw-r--r--libm/s_lrint.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/libm/s_lrint.c b/libm/s_lrint.c
index a0db12d76..3cdc8a253 100644
--- a/libm/s_lrint.c
+++ b/libm/s_lrint.c
@@ -19,8 +19,10 @@
Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA
02111-1307 USA. */
+#include <features.h>
+/* Prevent math.h from defining a colliding inline */
+#undef __USE_EXTERN_INLINES
#include <math.h>
-
#include "math_private.h"
static const double two52[2] =