diff options
-rw-r--r-- | os_compat.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/os_compat.c b/os_compat.c index 8c117379..cc7b27af 100644 --- a/os_compat.c +++ b/os_compat.c @@ -106,7 +106,7 @@ int os_daemon(int nochdir, int noclose) #else /* HAVE_DAEMON */ -#ifdef __linux__ +#if defined (__linux__) || defined (__GLIBC__) /* daemon() needs _DEFAULT_SOURCE */ #undef _DEFAULT_SOURCE |