summaryrefslogtreecommitdiffstats
path: root/lib/libpthread/sys
diff options
context:
space:
mode:
Diffstat (limited to 'lib/libpthread/sys')
-rw-r--r--lib/libpthread/sys/Makefile.inc4
-rw-r--r--lib/libpthread/sys/thr_error.c2
2 files changed, 3 insertions, 3 deletions
diff --git a/lib/libpthread/sys/Makefile.inc b/lib/libpthread/sys/Makefile.inc
index e608afa..bfcb3d9 100644
--- a/lib/libpthread/sys/Makefile.inc
+++ b/lib/libpthread/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/libpthread/sys/thr_error.c b/lib/libpthread/sys/thr_error.c
index 0d08ae8..837c5ee 100644
--- a/lib/libpthread/sys/thr_error.c
+++ b/lib/libpthread/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