Problem: Suspending with CTRL-Z does not work on OpenBSD.
Solution: Adjust #ifdef for SIGTSTP. (Stuart Henderson, closes #9912)
else
got_tstp = TRUE;
-#ifndef __ANDROID__
- // this is not required on all systems
+#if !defined(__ANDROID__) && !defined(__OpenBSD__)
+ // This is not required on all systems. On some systems (at least Android
+ // and OpenBSD) this breaks suspending with CTRL-Z.
signal(SIGTSTP, (RETSIGTYPE (*)())sig_tstp);
#endif
SIGRETURN;
static int included_patches[] =
{ /* Add new patch number below this line */
+/**/
+ 4532,
/**/
4531,
/**/