Fix build warning

This commit is contained in:
Siddhesh Poyarekar 2013-03-01 20:45:17 +05:30
parent e5c74c633e
commit ace4acc8ac
2 changed files with 3 additions and 0 deletions

View 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.

View 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. */