mirror of
https://gitlab.com/apparmor/apparmor
synced 2025-08-30 22:05:27 +00:00
While `include/sys/apparmor.h` makes use of `socklen_t`, it doesn't include the `<sys/socket.h>` header to make its declaration available. While this works on systems using glibc via transitive includes, it breaks compilation on musl libc. Fix the issue by including the header. MR: https://gitlab.com/apparmor/apparmor/-/merge_requests/642 Acked-by: John Johansen <john.johansen@canonical.com>