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
ff58fb8420
commit
7e5e179982
@ -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