Explicitly include sys/cdefs.h to get the definition of __strong_reference(),
rather than getting lucky due to header dependencies.
This commit is contained in:
parent
b063222a9a
commit
6c3c0d46a6
@ -54,6 +54,7 @@
|
||||
#include <sys/queue.h>
|
||||
#include <sys/types.h>
|
||||
#include <sys/time.h>
|
||||
#include <sys/cdefs.h>
|
||||
#include <sched.h>
|
||||
#include <spinlock.h>
|
||||
#include <pthread_np.h>
|
||||
|
@ -54,6 +54,7 @@
|
||||
#include <sys/queue.h>
|
||||
#include <sys/types.h>
|
||||
#include <sys/time.h>
|
||||
#include <sys/cdefs.h>
|
||||
#include <sched.h>
|
||||
#include <spinlock.h>
|
||||
#include <pthread_np.h>
|
||||
|
@ -54,6 +54,7 @@
|
||||
#include <sys/queue.h>
|
||||
#include <sys/types.h>
|
||||
#include <sys/time.h>
|
||||
#include <sys/cdefs.h>
|
||||
#include <sched.h>
|
||||
#include <spinlock.h>
|
||||
#include <pthread_np.h>
|
||||
|
Loading…
Reference in New Issue
Block a user