aboutsummaryrefslogtreecommitdiff
path: root/mmalloc/sbrk-sup.c
diff options
context:
space:
mode:
Diffstat (limited to 'mmalloc/sbrk-sup.c')
-rw-r--r--mmalloc/sbrk-sup.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/mmalloc/sbrk-sup.c b/mmalloc/sbrk-sup.c
index da0f7a2..93c078b 100644
--- a/mmalloc/sbrk-sup.c
+++ b/mmalloc/sbrk-sup.c
@@ -1,5 +1,5 @@
/* Support for sbrk() regions.
- Copyright 1992 Free Software Foundation, Inc.
+ Copyright 1992, 2000 Free Software Foundation, Inc.
Contributed by Fred Fish at Cygnus Support. fnf@cygnus.com
This file is part of the GNU C Library.
@@ -19,6 +19,9 @@ License along with the GNU C Library; see the file COPYING.LIB. If
not, write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
Boston, MA 02111-1307, USA. */
+#ifdef HAVE_UNISTD_H
+#include <unistd.h> /* Prototypes for sbrk (maybe) */
+#endif
#include <string.h> /* Prototypes for memcpy, memmove, memset, etc */
#include "mmprivate.h"