Include libkern/OSAtomic.h

Unlike x86, there isn't an ARM specific implementation. Therefore, we need to rely on the generic implementation of OSAtomic. Since I have decided to rely on `libkern/OSAtomicDeprecated.h` for the time being, this header must be exposed to any function that uses (directly on indirectly) OSAtomic functions.
This commit is contained in:
Thomas A 2020-05-14 18:33:08 -07:00
parent 9b767f9ebe
commit 542a107926

View File

@ -31,6 +31,7 @@
#include <xpc/xpc.h>
#include <machine/atomic.h>
#include <Block.h>
#include <libkern/OSAtomic.h>
#include "xpc_internal.h"
#define XPC_CONNECTION_NEXT_ID(conn) (OSAtomicIncrement64(&conn->xc_last_id))