about summary refs log tree commit diff
path: root/sysdeps/generic/brk.c
diff options
context:
space:
mode:
Diffstat (limited to 'sysdeps/generic/brk.c')
-rw-r--r--sysdeps/generic/brk.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/sysdeps/generic/brk.c b/sysdeps/generic/brk.c
index 8b8b734e33..b951819f21 100644
--- a/sysdeps/generic/brk.c
+++ b/sysdeps/generic/brk.c
@@ -1,4 +1,4 @@
-/* Copyright (C) 1991, 1995, 1996, 1997 Free Software Foundation, Inc.
+/* Copyright (C) 1991, 1995, 1996, 1997, 2002 Free Software Foundation, Inc.
    This file is part of the GNU C Library.
 
    The GNU C Library is free software; you can redistribute it and/or
@@ -19,6 +19,9 @@
 #include <errno.h>
 #include <unistd.h>
 
+/* sbrk.c expects this.  */
+void *__curbrk;
+
 /* Set the end of the process's data space to ADDR.
    Return 0 if successful, -1 if not.  */
 int