@@ -0,0 +1,21 @@
1+Proposed patch from Debian bug tracker by Aurelien Jarno <aurel32@debian.org>
2+
3+diff --git a/sh.proc.c b/sh.proc.c
4+index ad07250..5c68409 100644
5+--- a/sh.proc.c
6++++ b/sh.proc.c
7+@@ -47,11 +47,11 @@ RCSID("$tcsh$")
8+ # define HZ 16
9+ #endif /* aiws */
10+
11+-#if defined(_BSD) || (defined(IRIS4D) && __STDC__) || defined(__lucid) || defined(__linux__) || defined(__GNU__) || defined(__GLIBC__)
12+-# if !defined(__ANDROID__)
13++#if defined(_BSD) || (defined(IRIS4D) && __STDC__) || defined(__lucid) || defined(__linux__) || defined(__GLIBC__)
14++# if !defined(__ANDROID__) && !defined(__GLIBC__)
15+ # define BSDWAIT
16+ # endif
17+-#endif /* _BSD || (IRIS4D && __STDC__) || __lucid || glibc */
18++#endif /* _BSD || (IRIS4D && __STDC__) || __lucid || gnu-linux */
19+ #ifndef WTERMSIG
20+ # define WTERMSIG(w) (((union wait *) &(w))->w_termsig)
21+ # ifndef BSDWAIT