From 7d14d5193166479b924ac128ec909984dbaa7983 Mon Sep 17 00:00:00 2001 From: Karl Heuer Date: Sat, 27 May 1995 01:08:00 +0000 Subject: [PATCH] (VFORK_RETURN_TYPE): Moved here from s/sol2-4.h. --- src/s/sol2-3.h | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/src/s/sol2-3.h b/src/s/sol2-3.h index 891f7cded8b..ac80a2ff120 100644 --- a/src/s/sol2-3.h +++ b/src/s/sol2-3.h @@ -49,6 +49,11 @@ pty_name[sizeof(pty_name) - 1] = 0; \ } -/* David Miller says vfork fails on 2.4. */ -/* Brendan Kehoe says it also fails on 2.3. */ +/* David Miller says vfork fails on 2.4. + Brendan Kehoe says it also fails on 2.3. + So we'll use the alternate definition in sysdep.c. + But a header file has a declaration + that would conflict with the definition of vfork in sysdep.c. + So we'll choose the return type to match the system header. */ #undef HAVE_VFORK +#define VFORK_RETURN_TYPE pid_t -- 2.39.2