summaryrefslogtreecommitdiffstats
path: root/lib/libpthread
diff options
context:
space:
mode:
authorjasone <jasone@FreeBSD.org>2000-03-18 22:36:46 +0000
committerjasone <jasone@FreeBSD.org>2000-03-18 22:36:46 +0000
commitc35fe5e157e0fecca6519476bd5cc22300f50a5d (patch)
treeeb591ebbffdfd923953218f214099b59ba65c76f /lib/libpthread
parentdb6a3ed9309a7c792f538b4a6cb81c8abd9573c8 (diff)
downloadFreeBSD-src-c35fe5e157e0fecca6519476bd5cc22300f50a5d.zip
FreeBSD-src-c35fe5e157e0fecca6519476bd5cc22300f50a5d.tar.gz
Explicitly include sys/cdefs.h to get the definition of __strong_reference(),
rather than getting lucky due to header dependencies.
Diffstat (limited to 'lib/libpthread')
-rw-r--r--lib/libpthread/thread/thr_private.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/libpthread/thread/thr_private.h b/lib/libpthread/thread/thr_private.h
index 07c8bec..a86cfc6 100644
--- a/lib/libpthread/thread/thr_private.h
+++ b/lib/libpthread/thread/thr_private.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>
OpenPOWER on IntegriCloud