aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Schwab <schwab@linux-m68k.org>2011-12-29 18:44:57 -0500
committerAdhemerval Zanella <azanella@linux.vnet.ibm.com>2011-12-29 18:44:57 -0500
commit3368cae07962e837739572c1212a13cc70015d55 (patch)
treee0d45cf2ac5ab0e6ecf70b297fb3aa160083fe15
parent14f5085ae9d956563e8b1ce73f398bfc15b92683 (diff)
downloadglibc-3368cae07962e837739572c1212a13cc70015d55.zip
glibc-3368cae07962e837739572c1212a13cc70015d55.tar.gz
glibc-3368cae07962e837739572c1212a13cc70015d55.tar.bz2
Fix compilation due to __nan defines
Backport of commit #ee2aafe08e68c88412b7dcfa4b1e0d11789348f8
-rw-r--r--ChangeLog5
-rw-r--r--sysdeps/ieee754/ldbl-128ibm/s_atanl.c2
2 files changed, 6 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index e103e34..4ff91c1 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2011-10-22 Andreas Schwab <schwab@linux-m68k.org>
+
+ * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
+ "math_private.h".
+
2011-12-06 Andreas Schwab <schwab@linux-m68k.org>
[BZ #13472]
diff --git a/sysdeps/ieee754/ldbl-128ibm/s_atanl.c b/sysdeps/ieee754/ldbl-128ibm/s_atanl.c
index b6195f1..8c8c6d7 100644
--- a/sysdeps/ieee754/ldbl-128ibm/s_atanl.c
+++ b/sysdeps/ieee754/ldbl-128ibm/s_atanl.c
@@ -58,7 +58,7 @@
License along with this library; if not, write to the Free Software
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */
-
+#include <math.h>
#include "math_private.h"
#include <math_ldbl_opt.h>