X-Git-Url: https://git.saurik.com/apple/xnu.git/blobdiff_plain/f427ee49d309d8fc33ebf3042c3a775f2f530ded..refs/heads/master:/bsd/sys/unpcb.h diff --git a/bsd/sys/unpcb.h b/bsd/sys/unpcb.h index 502aae89a..5867dcb2d 100644 --- a/bsd/sys/unpcb.h +++ b/bsd/sys/unpcb.h @@ -68,6 +68,9 @@ #include #include #include +#if !KERNEL && PRIVATE +#include +#endif /* * Protocol control block for an active @@ -204,7 +207,7 @@ struct xunpcb { u_quad_t xu_alignment_hack; }; -#if XNU_TARGET_OS_OSX || !(TARGET_OS_IPHONE && !TARGET_OS_SIMULATOR) +#if XNU_TARGET_OS_OSX || KERNEL || !(TARGET_OS_IPHONE && !TARGET_OS_SIMULATOR) struct xunpcb64_list_entry { u_int64_t le_next; @@ -238,7 +241,7 @@ struct xunpcb64 { struct xsocket64 xu_socket; }; -#endif /* XNU_TARGET_OS_OSX || !(TARGET_OS_IPHONE && !TARGET_OS_SIMULATOR) */ +#endif /* XNU_TARGET_OS_OSX || KERNEL || !(TARGET_OS_IPHONE && !TARGET_OS_SIMULATOR) */ #pragma pack()