From 366b8de487d973c49faaa45f3ff699dec463e964 Mon Sep 17 00:00:00 2001 From: Brent Cook Date: Fri, 17 Jul 2015 23:59:32 -0600 Subject: [PATCH] include a daemon prototype if needed --- include/stdlib.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/include/stdlib.h b/include/stdlib.h index 2c1fa2c..1033f66 100644 --- a/include/stdlib.h +++ b/include/stdlib.h @@ -20,6 +20,10 @@ uint32_t arc4random(void); uint32_t arc4random_uniform(uint32_t); #endif +#ifndef HAVE_DAEMON +int daemon(int nochdir, int noclose); +#endif + #ifndef HAVE_REALLOCARRAY void *reallocarray(void *, size_t, size_t); #endif