From 9365c12ca38698e3b3c5653080714f526204982e Mon Sep 17 00:00:00 2001 From: Andrew Cagney Date: Fri, 18 Feb 2000 01:39:02 +0000 Subject: From 2000-02-17 RodneyBrown@pmsc.com: mm.c, attach.c, mmap-sup.c, sbrk-sup.c: Include for sbrk and lseek declarations. --- mmalloc/mm.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'mmalloc/mm.c') diff --git a/mmalloc/mm.c b/mmalloc/mm.c index b555f09..d487e0c 100644 --- a/mmalloc/mm.c +++ b/mmalloc/mm.c @@ -4,7 +4,7 @@ behavior. It should also still be possible to build the library as a standard library with multiple objects. - Copyright 1996 Free Software Foundation + Copyright 1996, 2000 Free Software Foundation The GNU C Library is free software; you can redistribute it and/or modify it under the terms of the GNU Library General Public License as @@ -21,6 +21,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 /* Prototypes for lseek, sbrk (maybe) */ +#endif #include "mcalloc.c" #include "mfree.c" #include "mmalloc.c" -- cgit v1.1