mirror of
https://github.com/novatiq/packages.git
synced 2026-04-30 15:38:40 +01:00
iodine: Fix compilation with uClibc-ng
daemon is supported now. Signed-off-by: Rosen Penev <rosenp@gmail.com>
This commit is contained in:
@@ -20,7 +20,7 @@ index 2715979..5f0e370 100644
|
||||
|
||||
/* daemon(3) exists only in 4.4BSD or later, and in GNU libc */
|
||||
-#if !defined(ANDROID) && !defined(WINDOWS32) && !(defined(BSD) && (BSD >= 199306)) && !defined(__GLIBC__)
|
||||
+#ifdef __UCLIBC__
|
||||
+#ifdef __NO_DAEMON__
|
||||
static int daemon(int nochdir, int noclose)
|
||||
{
|
||||
int fd, i;
|
||||
|
||||
Reference in New Issue
Block a user