X-Git-Url: http://drtracing.org/?a=blobdiff_plain;f=mmalloc%2Fattach.c;h=2bd70bfdf05f3723f9aed4d8fca13c71942f0dda;hb=95b80706953a70706f105907c5bb8b8ffb4f844f;hp=70cfa6eb997173c56a1256ae5314eb42563a5d23;hpb=ed288bb597072176e84fc8279707a3f2f475779b;p=deliverable%2Fbinutils-gdb.git diff --git a/mmalloc/attach.c b/mmalloc/attach.c index 70cfa6eb99..2bd70bfdf0 100644 --- a/mmalloc/attach.c +++ b/mmalloc/attach.c @@ -1,5 +1,5 @@ /* Initialization for access to a mmap'd malloc managed region. - Copyright 1992 Free Software Foundation, Inc. + Copyright 1992, 2000 Free Software Foundation, Inc. Contributed by Fred Fish at Cygnus Support. fnf@cygnus.com @@ -24,6 +24,9 @@ Boston, MA 02111-1307, USA. */ #include /* After sys/types.h, at least for dpx/2. */ #include #include +#ifdef HAVE_UNISTD_H +#include /* Prototypes for lseek */ +#endif #include "mmprivate.h" #ifndef SEEK_SET