about summary refs log tree commit diff
diff options
context:
space:
mode:
authorAdhemerval Zanella <azanella@linux.vnet.ibm.com>2011-12-29 19:39:22 -0500
committerAdhemerval Zanella <azanella@linux.vnet.ibm.com>2011-12-29 19:39:22 -0500
commite73988fd47a8ab815e4a4427683ac1098c8ff31f (patch)
treea5166decbc76602ef045dc832cec1ecd49e41103
parentbe802bc67041210b441ecdd9ebdd33e4e8c177cc (diff)
downloadglibc-e73988fd47a8ab815e4a4427683ac1098c8ff31f.tar.gz
glibc-e73988fd47a8ab815e4a4427683ac1098c8ff31f.tar.xz
glibc-e73988fd47a8ab815e4a4427683ac1098c8ff31f.zip
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 ae5f924c40..a4b9cb04b2 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 b6195f10be..8c8c6d7d6a 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>