summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/tib.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/include/tib.h b/include/tib.h
index 8d9216f19dc..d901b54aa23 100644
--- a/include/tib.h
+++ b/include/tib.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: tib.h,v 1.7 2019/05/10 13:29:21 guenther Exp $ */
+/* $OpenBSD: tib.h,v 1.8 2020/07/14 16:48:13 kettenis Exp $ */
/*
* Copyright (c) 2011,2014 Philip Guenther <guenther@openbsd.org>
*
@@ -143,8 +143,13 @@ struct tib {
int tib_canceled;
int tib_errno;
void *tib_locale;
+#ifdef __powerpc64__
+ void *tib_thread;
+ void *tib_dtv; /* internal to the runtime linker */
+#else
void *tib_dtv; /* internal to the runtime linker */
void *tib_thread;
+#endif
};