Fix build on 5.x.

PR:		ports/58222
Submitted by:	KATO Tsuguru <tkato@prontomail.com>
This commit is contained in:
Akinori MUSHA 2003-10-25 10:26:34 +00:00
parent e0e99bce43
commit 54b0e6f50c
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=92114

View File

@ -0,0 +1,11 @@
--- stty.c.orig Wed Sep 23 01:22:53 1998
+++ stty.c Sat Oct 11 22:25:59 2003
@@ -309,7 +309,7 @@
chld_changed()
{
int cpid;
-#if defined(_AIX) || defined(SVR4)
+#if defined(_AIX) || defined(SVR4) || defined(__FreeBSD__)
int statusp;
#else
union wait statusp;