summaryrefslogtreecommitdiff
path: root/libm/s_lrint.c
diff options
context:
space:
mode:
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] =