Use general dinit.h header in baseproc-service.cc.
authorDavin McCall <davmac@davmac.org>
Sat, 13 Jan 2018 16:47:57 +0000 (16:47 +0000)
committerDavin McCall <davmac@davmac.org>
Sat, 13 Jan 2018 16:47:57 +0000 (16:47 +0000)
src/baseproc-service.cc

index a516ec4eb9ec862869f3e85a87daa05b258ab733..ac5664b26874017c032c500277abf1cef7eac91b 100644 (file)
@@ -1,5 +1,6 @@
 #include <cstring>
 
+#include "dinit.h"
 #include "dinit-log.h"
 #include "dinit-socket.h"
 #include "proc-service.h"
  * See proc-service.h for interface documentation.
  */
 
-extern eventloop_t event_loop;
-
-using clock_type = dasynq::clock_type;
-using rearm = dasynq::rearm;
-using time_val = dasynq::time_val;
-
 void base_process_service::do_smooth_recovery() noexcept
 {
     if (! restart_ps_process()) {