chiark / gitweb /
core/load-fragment: safe_close() protects errno
[elogind.git] / src / core / socket.h
index a2e08998c0a730b2248d966c0157ec6bbaca5539..fa3ebdafa064f050268b0dd15495fdadb4e106a6 100644 (file)
@@ -23,8 +23,6 @@
 
 typedef struct Socket Socket;
 
-#include "manager.h"
-#include "unit.h"
 #include "socket-util.h"
 #include "mount.h"
 #include "service.h"
@@ -168,6 +166,8 @@ struct Socket {
         bool selinux_context_from_net;
 
         char *user, *group;
+
+        bool reset_cpu_usage:1;
 };
 
 /* Called from the service code when collecting fds */