summaryrefslogtreecommitdiff
path: root/libm/s_fabs.c
diff options
context:
space:
mode:
Diffstat (limited to 'libm/s_fabs.c')
-rw-r--r--libm/s_fabs.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/libm/s_fabs.c b/libm/s_fabs.c
index deb91382d..942a9b802 100644
--- a/libm/s_fabs.c
+++ b/libm/s_fabs.c
@@ -18,6 +18,9 @@ static char rcsid[] = "$NetBSD: s_fabs.c,v 1.7 1995/05/10 20:47:13 jtc Exp $";
* fabs(x) returns the absolute value of x.
*/
+#include <features.h>
+/* Prevent math.h from defining a colliding inline */
+#undef __USE_EXTERN_INLINES
#include "math.h"
#include "math_private.h"