mirror of
https://github.com/ceph/ceph
synced 2025-04-11 04:02:04 +00:00
include/compat.h: declare cpu_set_t for MacOS
to appease the compiler as it needs to compile numa.cc Signed-off-by: Kefu Chai <kchai@redhat.com>
This commit is contained in:
parent
d34aae8c86
commit
08034454e1
@ -51,6 +51,10 @@ int sched_setaffinity(pid_t pid, size_t cpusetsize,
|
||||
|
||||
#endif /* __FreeBSD__ */
|
||||
|
||||
#if defined(__APPLE__)
|
||||
struct cpu_set_t;
|
||||
#endif
|
||||
|
||||
#if defined(__APPLE__) || defined(__FreeBSD__)
|
||||
/* Make sure that ENODATA is defined in the correct way */
|
||||
#ifdef ENODATA
|
||||
|
Loading…
Reference in New Issue
Block a user