about summary refs log tree commit diff
path: root/sysdeps/htl/pt-attr-getstack.c
diff options
context:
space:
mode:
Diffstat (limited to 'sysdeps/htl/pt-attr-getstack.c')
-rw-r--r--sysdeps/htl/pt-attr-getstack.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/sysdeps/htl/pt-attr-getstack.c b/sysdeps/htl/pt-attr-getstack.c
index db04665bfc..6d8b286889 100644
--- a/sysdeps/htl/pt-attr-getstack.c
+++ b/sysdeps/htl/pt-attr-getstack.c
@@ -18,13 +18,14 @@
 
 #include <pthread.h>
 #include <pt-internal.h>
+#include <pthreadP.h>
 
 int
 __pthread_attr_getstack (const pthread_attr_t *attr,
 			 void **stackaddr, size_t * stacksize)
 {
-  pthread_attr_getstackaddr (attr, stackaddr);
-  pthread_attr_getstacksize (attr, stacksize);
+  __pthread_attr_getstackaddr (attr, stackaddr);
+  __pthread_attr_getstacksize (attr, stacksize);
   return 0;
 }
 weak_alias (__pthread_attr_getstack, pthread_attr_getstack)