Merge 13763a2a9b
into d7b31a9d84
This commit is contained in:
commit
d2f376a0f3
5 changed files with 34 additions and 0 deletions
|
@ -36,6 +36,13 @@
|
|||
#include <vector>
|
||||
|
||||
#if defined(__APPLE__) && defined(__MACH__)
|
||||
#include <TargetConditionals.h>
|
||||
#if defined(TARGET_OS_VISION) && TARGET_OS_VISION
|
||||
// VisionOS lacks some legacy types definitions
|
||||
typedef unsigned int u_int;
|
||||
typedef unsigned char u_char;
|
||||
typedef unsigned short u_short;
|
||||
#endif
|
||||
#include <sys/types.h>
|
||||
#include <sys/sysctl.h>
|
||||
#endif
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue