diff --git a/src/basic/forward.h b/src/basic/forward.h index 0456772980..df3bdee233 100644 --- a/src/basic/forward.h +++ b/src/basic/forward.h @@ -57,7 +57,6 @@ struct ucred; * used for C++ symbol name mangling, they're effectively part of the ABI and won't actually change. */ typedef struct _IO_FILE FILE; typedef struct __dirstream DIR; -typedef __socklen_t socklen_t; /* 3rd-party library forward declarations */ diff --git a/src/journal/journald-audit.h b/src/journal/journald-audit.h index eb4fe3e613..17ba2efbbb 100644 --- a/src/journal/journald-audit.h +++ b/src/journal/journald-audit.h @@ -1,6 +1,8 @@ /* SPDX-License-Identifier: LGPL-2.1-or-later */ #pragma once +#include + #include "journald-forward.h" void manager_process_audit_message(Manager *m, const void *buffer, size_t buffer_size, const struct ucred *ucred, const union sockaddr_union *sa, socklen_t salen); diff --git a/src/shared/selinux-util.h b/src/shared/selinux-util.h index 9c5707f9fa..a9180c4c99 100644 --- a/src/shared/selinux-util.h +++ b/src/shared/selinux-util.h @@ -1,6 +1,8 @@ /* SPDX-License-Identifier: LGPL-2.1-or-later */ #pragma once +#include + #include "forward.h" #if HAVE_SELINUX