diff options
Diffstat (limited to 'src/grp-system/libcore/service.h')
-rw-r--r-- | src/grp-system/libcore/service.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/grp-system/libcore/service.h b/src/grp-system/libcore/service.h index 34a9fbe72e..4dcf5ecf78 100644 --- a/src/grp-system/libcore/service.h +++ b/src/grp-system/libcore/service.h @@ -27,6 +27,7 @@ typedef struct ServiceFDStore ServiceFDStore; #include "kill.h" #include "path.h" +#include "socket.h" typedef enum ServiceRestart { SERVICE_RESTART_NO, @@ -201,7 +202,7 @@ struct Service { extern const UnitVTable service_vtable; -int service_set_socket_fd(Service *s, int fd, struct Socket *socket, bool selinux_context_net); +int service_set_socket_fd(Service *s, int fd, Socket *socket, bool selinux_context_net); void service_close_socket_fd(Service *s); const char* service_restart_to_string(ServiceRestart i) _const_; |