summaryrefslogtreecommitdiffstats
path: root/lib/libkse/sys
diff options
context:
space:
mode:
authormini <mini@FreeBSD.org>2002-09-16 08:45:36 +0000
committermini <mini@FreeBSD.org>2002-09-16 08:45:36 +0000
commita116d71409b73921e6c8eaeff74e2bca19168232 (patch)
tree6cfc3adc606bf24f8d8f276256e9b391c6d7618b /lib/libkse/sys
parentbd0063350a2e7155bdf2ba0b707efbe263a8e6c7 (diff)
downloadFreeBSD-src-a116d71409b73921e6c8eaeff74e2bca19168232.zip
FreeBSD-src-a116d71409b73921e6c8eaeff74e2bca19168232.tar.gz
Make the changes needed for libpthread to compile in its new home.
The new libpthread will provide POSIX threading support using KSE. These files were previously repo-copied from src/lib/libc_r. Reviewed by: deischen Approved by: -arch
Diffstat (limited to 'lib/libkse/sys')
-rw-r--r--lib/libkse/sys/Makefile.inc4
-rw-r--r--lib/libkse/sys/thr_error.c2
2 files changed, 3 insertions, 3 deletions
diff --git a/lib/libkse/sys/Makefile.inc b/lib/libkse/sys/Makefile.inc
index e608afa..bfcb3d9 100644
--- a/lib/libkse/sys/Makefile.inc
+++ b/lib/libkse/sys/Makefile.inc
@@ -1,6 +1,6 @@
# $FreeBSD$
-.PATH: ${.CURDIR}/sys ${.CURDIR}/arch/${MACHINE_ARCH}
+.PATH: ${.CURDIR}/sys ${.CURDIR}/arch/${MACHINE_ARCH}/${MACHINE_ARCH}
-SRCS+= uthread_error.c _atomic_lock.S
+SRCS+= thr_error.c _atomic_lock.S
diff --git a/lib/libkse/sys/thr_error.c b/lib/libkse/sys/thr_error.c
index 0d08ae8..837c5ee 100644
--- a/lib/libkse/sys/thr_error.c
+++ b/lib/libkse/sys/thr_error.c
@@ -35,7 +35,7 @@
*/
#ifdef _THREAD_SAFE
#include <pthread.h>
-#include "pthread_private.h"
+#include "thr_private.h"
extern int errno;
int * __error()
OpenPOWER on IntegriCloud