diff --git a/base/musl/pkg/sysvinit/ttydefaults.patch b/base/musl/pkg/sysvinit/ttydefaults.patch new file mode 100644 index 000000000..3c9dd18f4 --- /dev/null +++ b/base/musl/pkg/sysvinit/ttydefaults.patch @@ -0,0 +1,10 @@ +--- ./src/init.c.orig 2015-01-25 22:33:52.743426372 +0100 ++++ ./src/init.c 2015-01-25 22:50:05.813855605 +0100 +@@ -49,6 +49,7 @@ + #include + #include + #include ++#include + #include + #include + diff --git a/base/sysvinit/rc.c b/base/sysvinit/rc.c index a1a6eecc3..4b566a7c8 100644 --- a/base/sysvinit/rc.c +++ b/base/sysvinit/rc.c @@ -41,6 +41,13 @@ char * clean_env[] = { NULL }; +#ifndef __SIGRTMIN +#define __SIGRTMIN 32 +#endif +#ifndef __SIGRTMAX +#define __SIGRTMAX (NSIG-1) +#endif + /* See bits/resource.h and asm/resource.h */ struct rlimit rlim_cpu = { RLIM_INFINITY, RLIM_INFINITY }; struct rlimit rlim_fsize = { RLIM_INFINITY, RLIM_INFINITY };