Derek Straka 03a71a69cd tcsh: fix the wait definition to support gcc6
Signed-off-by: Derek Straka <derek@asterius.io>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
(cherry picked from commit 47e84b36863c0084e640422ea7d0e16b39ab8d99)
Signed-off-by: Armin Kuster <akuster808@gmail.com>
2016-08-16 10:29:40 -07:00

12 lines
476 B
Diff

--- tcsh-6.18.01/sh.proc.c.orig 2016-06-08 16:11:02.902326725 +0000
+++ tcsh-6.18.01/sh.proc.c 2016-06-08 16:38:22.150304901 +0000
@@ -48,7 +48,7 @@
#endif /* aiws */
#if defined(_BSD) || (defined(IRIS4D) && __STDC__) || defined(__lucid) || defined(__linux__) || defined(__GNU__) || defined(__GLIBC__)
-# if !defined(__ANDROID__)
+# if !defined(__ANDROID__) && !defined(__GLIBC__)
# define BSDWAIT
# endif
#endif /* _BSD || (IRIS4D && __STDC__) || __lucid || glibc */