summaryrefslogtreecommitdiff
path: root/libm
diff options
context:
space:
mode:
authorPeter S. Mazinger <ps.m@gmx.net>2006-02-13 09:08:38 +0000
committerPeter S. Mazinger <ps.m@gmx.net>2006-02-13 09:08:38 +0000
commite5d3043b89c1b252b3714c54fd25cbb812e99b11 (patch)
tree70c2189e6a3155b22f0457da92f4a6dc3b0f60fc /libm
parent40b7c065b1694d257b180d0d49bd987c67c26500 (diff)
Do not default to _POSIX_MODE
Diffstat (limited to 'libm')
-rw-r--r--libm/Makefile.in2
-rw-r--r--libm/w_scalb.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/libm/Makefile.in b/libm/Makefile.in
index a94e778cb..be5bfc654 100644
--- a/libm/Makefile.in
+++ b/libm/Makefile.in
@@ -21,7 +21,7 @@
#
CFLAGS-libm := -DNOT_IN_libc -DIS_IN_libm $(SSP_ALL_CFLAGS)
-CFLAGS-libm += -D_IEEE_LIBM -D_ISOC99_SOURCE -D_SVID_SOURCE -D_POSIX_MODE
+CFLAGS-libm += -D_IEEE_LIBM -D_ISOC99_SOURCE -D_SVID_SOURCE
LDFLAGS-libm.so := $(LDFLAGS)
diff --git a/libm/w_scalb.c b/libm/w_scalb.c
index 673006120..a5f88de39 100644
--- a/libm/w_scalb.c
+++ b/libm/w_scalb.c
@@ -20,7 +20,7 @@ static char rcsid[] = "$NetBSD: w_scalb.c,v 1.6 1995/05/10 20:49:48 jtc Exp $";
* should use scalbn() instead.
*/
-#include "math.h"
+#include <math.h>
#include "math_private.h"
#include <errno.h>