From 2112c5aebddcc9b15a7c8a5ca2cdc0b848d92eb0 Mon Sep 17 00:00:00 2001 From: Roland McGrath Date: Sun, 11 Jul 1999 01:42:52 +0000 Subject: 1999-07-10 Roland McGrath * portinfo.h: Add #include for munmap decl. * fsysops.c: Likewise. * idvec-auth.c: Likewise. --- libshouldbeinlibc/fsysops.c | 3 ++- libshouldbeinlibc/idvec-auth.c | 1 + libshouldbeinlibc/portinfo.h | 3 ++- 3 files changed, 5 insertions(+), 2 deletions(-) diff --git a/libshouldbeinlibc/fsysops.c b/libshouldbeinlibc/fsysops.c index 57046e21..f26069df 100644 --- a/libshouldbeinlibc/fsysops.c +++ b/libshouldbeinlibc/fsysops.c @@ -23,6 +23,7 @@ #include #include #include +#include #include /* Make FSYS readonly or writable. */ @@ -57,7 +58,7 @@ fsys_get_readonly (fsys_t fsys, int *readonly) for (opt = opts ; !ok && opt && opt < opts + opts_len - ; opt = argz_next (opts, opts_len, opt)) + ; opt = argz_next (opts, opts_len, opt)) if (strcasecmp (opt, "--readonly") == 0) { *readonly = 1; diff --git a/libshouldbeinlibc/idvec-auth.c b/libshouldbeinlibc/idvec-auth.c index 3131e61e..b17233c8 100644 --- a/libshouldbeinlibc/idvec-auth.c +++ b/libshouldbeinlibc/idvec-auth.c @@ -19,6 +19,7 @@ Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */ #include +#include #include #include "idvec.h" diff --git a/libshouldbeinlibc/portinfo.h b/libshouldbeinlibc/portinfo.h index bef2fa00..09d1643a 100644 --- a/libshouldbeinlibc/portinfo.h +++ b/libshouldbeinlibc/portinfo.h @@ -1,6 +1,6 @@ /* Print information about a task's ports - Copyright (C) 1996 Free Software Foundation, Inc. + Copyright (C) 1996, 1999 Free Software Foundation, Inc. Written by Miles Bader @@ -24,6 +24,7 @@ #include #include #include +#include #include -- cgit v1.2.3