aboutsummaryrefslogtreecommitdiff
path: root/linuxthreads/attr.c
diff options
context:
space:
mode:
Diffstat (limited to 'linuxthreads/attr.c')
-rw-r--r--linuxthreads/attr.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/linuxthreads/attr.c b/linuxthreads/attr.c
index a88fdb9..2adc7cc 100644
--- a/linuxthreads/attr.c
+++ b/linuxthreads/attr.c
@@ -26,6 +26,8 @@
#include "pthread.h"
#include "internals.h"
#include <shlib-compat.h>
+#include <ldsodefs.h>
+
int __pthread_attr_init_2_1(pthread_attr_t *attr)
{
@@ -415,9 +417,6 @@ int pthread_getattr_np (pthread_t thread, pthread_attr_t *attr)
if (descr == &__pthread_initial_thread)
#endif
{
- /* Defined in ld.so. */
- extern void *__libc_stack_end;
-
/* Stack size limit. */
struct rlimit rl;