From d36719f5c99324b1c37e32b217e4aff845683d59 Mon Sep 17 00:00:00 2001 From: Luke Shumaker Date: Tue, 2 Aug 2016 22:00:19 -0400 Subject: ensure that include order of headers does not matter --- src/grp-system/libcore/service.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/grp-system/libcore/service.h') diff --git a/src/grp-system/libcore/service.h b/src/grp-system/libcore/service.h index ba9086d8cd..aa7d1de8b6 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, @@ -199,7 +200,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_; -- cgit v1.2.3-54-g00ecf