about summary refs log tree commit diff
diff options
context:
space:
mode:
authorJoseph Myers <joseph@codesourcery.com>2012-12-05 20:03:45 +0000
committerJoseph Myers <joseph@codesourcery.com>2012-12-05 20:03:45 +0000
commit66ca5a5b9375ddf95334d59fdde15a962f2c19dd (patch)
treeebdae12ebc4a01faeafc9fa7cd4dcef5cb6c6fdd
parent363313b5be5d4b357b50d322b3ab14a2ae1ccf60 (diff)
downloadglibc-66ca5a5b9375ddf95334d59fdde15a962f2c19dd.tar.gz
glibc-66ca5a5b9375ddf95334d59fdde15a962f2c19dd.tar.xz
glibc-66ca5a5b9375ddf95334d59fdde15a962f2c19dd.zip
Include stdlib.h in sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c.
-rw-r--r--ChangeLog2
-rw-r--r--sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c1
2 files changed, 3 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index 9cd4867aed..a577d3d853 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,7 @@
 2012-12-05  Joseph Myers  <joseph@codesourcery.com>
 
+	* sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
+
 	* stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
 	10000 as width of padded output.
 
diff --git a/sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c b/sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c
index 4379b68c3c..9631b07a55 100644
--- a/sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c
+++ b/sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c
@@ -19,6 +19,7 @@
 #include <math.h>
 #include <math_private.h>
 #include <float.h>
+#include <stdlib.h>
 
 /* Calculate X + Y exactly and store the result in *HI + *LO.  It is
    given that |X| >= |Y| and the values are small enough that no