]> git.ipfire.org Git - thirdparty/ntp.git/commitdiff
[Bug 3538] Build fails for no-MMU targets
authorJuergen Perlinger <perlinger@ntp.org>
Sat, 27 Oct 2018 08:23:05 +0000 (10:23 +0200)
committerJuergen Perlinger <perlinger@ntp.org>
Sat, 27 Oct 2018 08:23:05 +0000 (10:23 +0200)
bk: 5bd42069roy-3vdNtMlYL51NG0mlEg

ChangeLog
ntpd/ntpd.c

index f381a093cf948c1202162000eaf2d8abbf1a1dcf..132a5a32804d6eec11391f67f151abb3e11e4e47 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+---
+* [Bug 3538] Build fails for no-MMU targets <perlinger@ntp.org>
+  - applied patch by Baruch Siach
+
 ---
 (4.2.8p12) 2018/08/14 Released by Harlan Stenn <stenn@ntp.org>
 
index b477a71804bffc347b45f3ec3794c5a6bbd670ab..b35c7542ff814ceb45a4893dd50c0830eac9f780 100644 (file)
@@ -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
 /*