[review,v2] support: Include <limits.h> in support_small_stack_thread_attribute.c

Message ID 20191112184739.8A93220AF6@gnutoolchain-gerrit.osci.io
State Superseded
Headers

Commit Message

Simon Marchi (Code Review) Nov. 12, 2019, 6:47 p.m. UTC
  Change URL: https://gnutoolchain-gerrit.osci.io/r/c/glibc/+/619
......................................................................

support: Include <limits.h> in support_small_stack_thread_attribute.c

Change-Id: Idc212c887ff178aa67f22cc99def3383dae99040
---
M support/support_set_small_thread_stack_size.c
1 file changed, 1 insertion(+), 0 deletions(-)
  

Patch

diff --git a/support/support_set_small_thread_stack_size.c b/support/support_set_small_thread_stack_size.c
index 23189fd..c4f8fea 100644
--- a/support/support_set_small_thread_stack_size.c
+++ b/support/support_set_small_thread_stack_size.c
@@ -16,6 +16,7 @@ 
    License along with the GNU C Library; if not, see
    <https://www.gnu.org/licenses/>.  */
 
+#include <limits.h>
 #include <pthread.h>
 #include <support/xthread.h>
 #include <sys/param.h>