aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog4
-rw-r--r--math/test-nan-overflow.c1
2 files changed, 5 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index 995720e..6c6caab 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2016-10-28 Carlos O'Donell <carlos@redhat.com>
+
+ * math/test-nan-overflow.c: Include stdlib.h for malloc.
+
2016-10-28 H.J. Lu <hongjiu.lu@intel.com>
[BZ #20019]
diff --git a/math/test-nan-overflow.c b/math/test-nan-overflow.c
index 40aae2e..745a044 100644
--- a/math/test-nan-overflow.c
+++ b/math/test-nan-overflow.c
@@ -20,6 +20,7 @@
#include <stdio.h>
#include <string.h>
#include <sys/resource.h>
+#include <stdlib.h>
#define STACK_LIM 1048576
#define STRING_SIZE (2 * STACK_LIM)