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

login
register
mail settings
Submitter Simon Marchi (Code Review)
Date Nov. 12, 2019, 6:39 p.m.
Message ID <gerrit.1573583941000.Idc212c887ff178aa67f22cc99def3383dae99040@gnutoolchain-gerrit.osci.io>
Download mbox | patch
Permalink /patch/35834/
State New
Headers show

Comments

Simon Marchi (Code Review) - Nov. 12, 2019, 6:39 p.m.
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_small_stack_thread_attribute.c
1 file changed, 1 insertion(+), 0 deletions(-)
Simon Marchi (Code Review) - Nov. 12, 2019, 7:05 p.m.
Florian Weimer has abandoned this change. ( https://gnutoolchain-gerrit.osci.io/r/c/glibc/+/619 )

Change subject: support: Include <limits.h> in support_set_small_thread_stack_size.c
......................................................................


Abandoned

Sorry for using Gerrit to shuffle patches between systems. The <limits.h> include is not the correct fix, as it turns out.

Patch

diff --git a/support/support_small_stack_thread_attribute.c b/support/support_small_stack_thread_attribute.c
index a65097d..206dacd 100644
--- a/support/support_small_stack_thread_attribute.c
+++ b/support/support_small_stack_thread_attribute.c
@@ -18,6 +18,7 @@ 
 
 #include <support/xthread.h>
 #include <allocate_once.h>
+#include <limits.h>
 
 static void *
 allocate (void *closure)