aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog2
-rw-r--r--sysdeps/generic/fpu_control.c3
2 files changed, 4 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index b063f05569..a4c1f2dddf 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,7 @@
1999-06-23 Ulrich Drepper <drepper@cygnus.com>
+ * sysdeps/generic/fpu_control.c: Include math.h for __P definition.
+
* posix/getopt.h: Include stdio.h.
* manual/arith.texi: Document restriction of ndigit parameter of
diff --git a/sysdeps/generic/fpu_control.c b/sysdeps/generic/fpu_control.c
index 90d0eb14d5..d0529e42b9 100644
--- a/sysdeps/generic/fpu_control.c
+++ b/sysdeps/generic/fpu_control.c
@@ -1,5 +1,5 @@
/* Default FPU control word initialization.
- Copyright (C) 1996, 1997 Free Software Foundation, Inc.
+ Copyright (C) 1996, 1997, 1999 Free Software Foundation, Inc.
This file is part of the GNU C Library.
The GNU C Library is free software; you can redistribute it and/or
@@ -17,6 +17,7 @@
write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
Boston, MA 02111-1307, USA. */
+#include <math.h>
#include <fpu_control.h>
/* This module defines `__fpu_control' with the default value. */