Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[PATCH] Missing includes in daemonize.c #21

Open
andy-js opened this issue Jul 4, 2016 · 0 comments
Open

[PATCH] Missing includes in daemonize.c #21

andy-js opened this issue Jul 4, 2016 · 0 comments

Comments

@andy-js
Copy link

andy-js commented Jul 4, 2016

This patch fixes build warnings on illumos.

diff --git a/daemonize.c b/daemonize.c
index 3d2b40e..606b965 100644
--- a/daemonize.c
+++ b/daemonize.c
@@ -20,10 +20,12 @@
 #include <unistd.h>
 #include <sys/types.h>
 #include <pwd.h>
+#include <grp.h>
 #include <stdarg.h>
 #include <fcntl.h>
 #include <sys/stat.h>
 #include <sys/file.h>
+#include <libgen.h>
 #include "config.h"
 #include "version.h"
 
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant