From: Dave Hart Date: Fri, 5 Jan 2024 08:09:43 +0000 (+0000) Subject: Fix build failure with forking worker. X-Git-Tag: NTP_4_2_8P18_RC1~25 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2bd256227771cb3421f40a35cd30ad7b2284610a;p=thirdparty%2Fntp.git Fix build failure with forking worker. bk: 6597b947jN0P4ToOmkxkRlYO_m4ETg --- diff --git a/ntpd/ntpd.c b/ntpd/ntpd.c index 2d4501537..110a912d6 100644 --- a/ntpd/ntpd.c +++ b/ntpd/ntpd.c @@ -668,6 +668,7 @@ detach_from_terminal( return; } # endif /* HAVE_WORKING_FORK */ +#endif /* !SIM && !SYS_WINNT */ #ifdef HAVE_DROPROOT /* @@ -806,7 +807,6 @@ set_user_group_ids(void) return 1; } #endif /* HAVE_DROPROOT */ -#endif /* !SIM */ /* * Main program. Initialize us, disconnect us from the tty if necessary,