summaryrefslogtreecommitdiff
path: root/src/bitz-server.h
diff options
context:
space:
mode:
authorJörg Frings-Fürst <debian@jff-webhosting.net>2018-06-27 16:59:39 +0200
committerJörg Frings-Fürst <debian@jff-webhosting.net>2018-06-27 16:59:39 +0200
commitf1187001ebc5b9ad18d5b5992c75bd682e367b42 (patch)
tree134ca05c369ac09dd7fa5f51285cc7176d62c385 /src/bitz-server.h
parentb84c8622d092fd773888eed89f1dbffb2c3a57f7 (diff)
parent8111b77e95b083137faf888aeb5892073adf7ab4 (diff)
Update upstream source from tag 'upstream/2.0.0'
Update to upstream version '2.0.0' with Debian dir 112f2f2cb91158baaf8ee3a1f623980b43a258ce
Diffstat (limited to 'src/bitz-server.h')
-rw-r--r--src/bitz-server.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/bitz-server.h b/src/bitz-server.h
index c7dda05..2a4b57f 100644
--- a/src/bitz-server.h
+++ b/src/bitz-server.h
@@ -23,6 +23,7 @@
#include "bitz/manager.h"
#include <csignal>
+#include <sys/types.h>
namespace bitz {
@@ -34,7 +35,8 @@ namespace bitz {
* by the init() method.
*/
struct server_t {
- int pid_handle;
+ pid_t pid;
+ int pidfd;
volatile sig_atomic_t terminating;
bool daemon;