summary refs log tree commit diff
path: root/sysdeps/generic/dl-sbrk.c
diff options
context:
space:
mode:
Diffstat (limited to 'sysdeps/generic/dl-sbrk.c')
-rw-r--r--sysdeps/generic/dl-sbrk.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/sysdeps/generic/dl-sbrk.c b/sysdeps/generic/dl-sbrk.c
index 3874975890..4713a92694 100644
--- a/sysdeps/generic/dl-sbrk.c
+++ b/sysdeps/generic/dl-sbrk.c
@@ -1,2 +1,5 @@
-/* Just use the normal code.  */
+/* We can use the normal code but we also know the __curbrk is not exported
+   from ld.so.  */
+extern void *__curbrk attribute_hidden;
+
 #include <sbrk.c>