diff options
| author | Alexander Barton <alex@barton.de> | 2012-09-11 14:38:19 +0200 |
|---|---|---|
| committer | Alexander Barton <alex@barton.de> | 2012-09-11 14:38:19 +0200 |
| commit | b2482b39e40bd5355cb6ea935d7dc1f1bd18f7ab (patch) | |
| tree | 142e6d1ddfcf86a80ccd83f440aa577c8040a2cb /src | |
| parent | 74c7d7131f6754e1afa9b1ec7b95e95824475c97 (diff) | |
| download | ngircd-b2482b39e40bd5355cb6ea935d7dc1f1bd18f7ab.tar.gz ngircd-b2482b39e40bd5355cb6ea935d7dc1f1bd18f7ab.zip | |
Use HAVE_SETSID #define when testing for setsid()
Diffstat (limited to 'src')
| -rw-r--r-- | src/ngircd/ngircd.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ngircd/ngircd.c b/src/ngircd/ngircd.c index 8a93bcb0..67bc4df4 100644 --- a/src/ngircd/ngircd.c +++ b/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()); |