X-Git-Url: https://git.saurik.com/apple/xnu.git/blobdiff_plain/1c79356b52d46aa6b508fb032f5ae709b1f2897b..5eebf7385fedb1517b66b53c28e5aa6bb0a2be50:/bsd/sys/linker_set.h?ds=inline diff --git a/bsd/sys/linker_set.h b/bsd/sys/linker_set.h index e57d1b8d0..25776d91a 100644 --- a/bsd/sys/linker_set.h +++ b/bsd/sys/linker_set.h @@ -49,6 +49,9 @@ #ifndef _SYS_LINKER_SET_H_ #define _SYS_LINKER_SET_H_ +#include + +#if !defined(KERNEL) || defined(__APPLE_API_PRIVATE) /* * The following macros are used to declare global sets of objects, which * are collected by the linker into a `struct linker_set' as defined below. @@ -95,6 +98,7 @@ struct linker_set { const void *ls_items[1]; /* really ls_length of them, * trailing NULL */ }; +#endif /* !KERNEL || __APPLE_API_PRIVATE */ #endif /* _SYS_LINKER_SET_H_ */