From: Juergen Perlinger Date: Sat, 27 Oct 2018 08:23:05 +0000 (+0200) Subject: [Bug 3538] Build fails for no-MMU targets X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=016ba219b018a3fcca477096435cead52629c21b;p=thirdparty%2Fntp.git [Bug 3538] Build fails for no-MMU targets bk: 5bd42069roy-3vdNtMlYL51NG0mlEg --- diff --git a/ChangeLog b/ChangeLog index f381a093c..132a5a328 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +--- +* [Bug 3538] Build fails for no-MMU targets + - applied patch by Baruch Siach + --- (4.2.8p12) 2018/08/14 Released by Harlan Stenn diff --git a/ntpd/ntpd.c b/ntpd/ntpd.c index b477a7180..b35c7542f 100644 --- a/ntpd/ntpd.c +++ b/ntpd/ntpd.c @@ -534,6 +534,7 @@ set_process_priority(void) * Detach from terminal (much like daemon()) * Nothe that this function calls exit() */ +# ifdef HAVE_WORKING_FORK static void detach_from_terminal( int pipe_fds[2], @@ -617,6 +618,7 @@ detach_from_terminal( return; } +# endif /* HAVE_WORKING_FORK */ #ifdef HAVE_DROPROOT /*