]> git.ipfire.org Git - thirdparty/glibc.git/commitdiff
Fix build warning
authorSiddhesh Poyarekar <siddhesh@redhat.com>
Fri, 1 Mar 2013 15:15:17 +0000 (20:45 +0530)
committerSiddhesh Poyarekar <siddhesh@redhat.com>
Fri, 1 Mar 2013 15:15:17 +0000 (20:45 +0530)
nptl/ChangeLog
nptl/tst-oddstacklimit.c

index 39b91a8177ac8c4ffb57255a18c3ac5cfaba6be2..4beb77c43e5b981ebc909443cfbd370c130e11a4 100644 (file)
@@ -1,5 +1,7 @@
 2013-03-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
 
+       * tst-oddstacklimit.c: Include stdlib.h.
+
        * Makefile (tests): Add tst-pthread-stack-env.
        (tst-pthread-stack-env-ENV): Set environment for test.
        * nptl-init.c (set_default_stacksize): New function.
index 2c7783f56f4823379ed643cf76bce36de5df42ae..49754fe48c0babf3ef164691495565096d23fc7f 100644 (file)
@@ -21,6 +21,7 @@
 #include <string.h>
 #include <sys/resource.h>
 #include <sys/wait.h>
+#include <stdlib.h>
 
 /* This sets the stack resource limit to 1023kb, which is not a multiple
    of the page size since every architecture's page size is > 1k.  */