summaryrefslogtreecommitdiff
path: root/src/unix
diff options
context:
space:
mode:
Diffstat (limited to 'src/unix')
-rw-r--r--src/unix/Daemon.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/unix/Daemon.cxx b/src/unix/Daemon.cxx
index 9aa16a078..4c31c5b8d 100644
--- a/src/unix/Daemon.cxx
+++ b/src/unix/Daemon.cxx
@@ -103,7 +103,7 @@ daemonize_set_user(void)
(int)user_gid);
}
-#ifdef _BSD_SOURCE
+#ifdef HAVE_INITGROUPS
/* init supplementary groups
* (must be done before we change our uid)
*/