diff options
Diffstat (limited to 'daemon.c')
-rw-r--r-- | daemon.c | 7 |
1 files changed, 7 insertions, 0 deletions
@@ -8,6 +8,7 @@ #include <stdio.h> #include <sys/types.h> +#include <sys/stat.h> #include <sys/file.h> #include <signal.h> #include <fcntl.h> @@ -20,6 +21,10 @@ # include <unistd.h> #endif +#if defined(STDC_HEADERS) +#include <stdlib.h> +#endif + #if defined(QNX) # include <unix.h> #endif @@ -174,6 +179,8 @@ nottyDetach: #if defined(SIGPWR) signal(SIGPWR, sigchld_handler); #endif + + return(0); } /* daemon.c ends here */ |