summaryrefslogtreecommitdiffstats
path: root/lib/libthr/thread
diff options
context:
space:
mode:
authordavidxu <davidxu@FreeBSD.org>2008-04-02 11:41:12 +0000
committerdavidxu <davidxu@FreeBSD.org>2008-04-02 11:41:12 +0000
commitf1df18eb48f30e7320b9dbaa02ce3b4e4d5ae32e (patch)
treeeab1bf74076f8ff0fe50be182d32744898f66f04 /lib/libthr/thread
parentca28ca664f6a4a399649d639f00a96bb8a8822b6 (diff)
downloadFreeBSD-src-f1df18eb48f30e7320b9dbaa02ce3b4e4d5ae32e.zip
FreeBSD-src-f1df18eb48f30e7320b9dbaa02ce3b4e4d5ae32e.tar.gz
Non-portable functions are in pthread_np.h, fix compiling problem.
Diffstat (limited to 'lib/libthr/thread')
-rw-r--r--lib/libthr/thread/thr_affinity.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/libthr/thread/thr_affinity.c b/lib/libthr/thread/thr_affinity.c
index a300bb7..e233a3e 100644
--- a/lib/libthr/thread/thr_affinity.c
+++ b/lib/libthr/thread/thr_affinity.c
@@ -28,7 +28,7 @@
*/
#include "namespace.h"
-#include <pthread.h>
+#include <pthread_np.h>
#include <sys/param.h>
#include <sys/cpuset.h>
#include "un-namespace.h"
OpenPOWER on IntegriCloud