commit b2482b39e40bd5355cb6ea935d7dc1f1bd18f7ab from: Alexander Barton date: Tue Sep 11 12:38:19 2012 UTC Use HAVE_SETSID #define when testing for setsid() commit - 74c7d7131f6754e1afa9b1ec7b95e95824475c97 commit + b2482b39e40bd5355cb6ea935d7dc1f1bd18f7ab blob - 8a93bcb00839a796b262b890d12b373d662ccf56 blob + 67bc4df4c0180d8f79f8e4c61cd0a9c22a0bc339 --- src/ngircd/ngircd.c +++ src/ngircd/ngircd.c @@ -715,7 +715,7 @@ NGIRCd_Init(bool NGIRCd_NoDaemon) } /* New child process */ -#ifndef NeXT +#ifdef HAVE_SETSID (void)setsid(); #else setpgrp(0, getpid());