diff --git a/sysdeps/posix/sysconf.c b/sysdeps/posix/sysconf.c index 5fb3fb6c1c..33e6339020 100644 --- a/sysdeps/posix/sysconf.c +++ b/sysdeps/posix/sysconf.c @@ -31,6 +31,7 @@ #include #include #include +#include #include #define NEED_SPEC_ARRAY 0 @@ -1190,6 +1191,20 @@ __sysconf (int name) #else return -1; #endif + + case _SC_SIGSTKSZ: +#ifdef SIGSTKSZ + return SIGSTKSZ; +#else + return -1; +#endif + + case _SC_MINSIGSTKSZ: +#ifdef MINSIGSTKSZ + return MINSIGSTKSZ; +#else + return -1; +#endif } }