]> git.ozlabs.org Git - ccan/blobdiff - ccan/daemon-with-notify/daemon.c
use proper include path for daemon.h
[ccan] / ccan / daemon-with-notify / daemon.c
index 99f7125b62e849c0eaa94bd3cb6ff79015c2fe64..d730c3d08f53f7ba4a07f02cb7ae2ff253507aa2 100644 (file)
@@ -38,8 +38,8 @@
 #include <unistd.h>
 #include <sys/select.h>
 
-int daemonize(int nochdir, int noclose, int wait_sigusr1);
-int daemon_is_ready(void);
+#include <ccan/daemon-with-notify/daemon.h>
+
 void sigusr1_handler(int sig);
 
 pid_t parent_pid;