Browse Source

use proper include path for daemon.h

Stewart Smith 15 years ago
parent
commit
487c0f04ec
1 changed files with 2 additions and 2 deletions
  1. 2 2
      ccan/daemon-with-notify/daemon.c

+ 2 - 2
ccan/daemon-with-notify/daemon.c

@@ -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;