support: Fix support_set_small_thread_stack_size to build on Hurd
authorFlorian Weimer <fweimer@redhat.com>
Tue, 12 Nov 2019 19:04:36 +0000 (20:04 +0100)
committerFlorian Weimer <fweimer@redhat.com>
Wed, 13 Nov 2019 13:10:11 +0000 (14:10 +0100)
commit02132c0f4c78f77d4a8cdbdea8f02956347e29ab
treeead8d1aa6c0da46e9aee21134a1140599e688ef3
parentd4625a19fe64f664119a541b317fb83de01bb273
support: Fix support_set_small_thread_stack_size to build on Hurd

PTHREAD_STACK_MIN comes from <limits.h>, so include it explicitly.
However, it is not defined on Hurd, so compensate for that as well.

Built on x86_64-linux-gnu, i686-linux-gnu, i686-gnu.

Change-Id: Ifacc888ef86731c2639721b0932ae59583bd6b3e
Reviewed-by: Christian Brauner <christian.brauner@ubuntu.com>
support/support_set_small_thread_stack_size.c