From: Dave Hart Date: Fri, 5 Jan 2024 08:09:43 +0000 (+0000) Subject: Fix build failure with forking worker. X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f1e3affa4b17a57128371af7532ce0486f0794ff;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,