From 21def62f57d520d864091f2811f18475defd0c99 Mon Sep 17 00:00:00 2001 From: Jim Meyering Date: Thu, 29 Jan 2004 20:41:16 +0000 Subject: [HAVE_SYS_UCRED_H]: Include grp.h before sys/ucred.h. --- lib/mountlist.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'lib/mountlist.c') diff --git a/lib/mountlist.c b/lib/mountlist.c index 9f77c6c36..631be3123 100644 --- a/lib/mountlist.c +++ b/lib/mountlist.c @@ -1,5 +1,5 @@ /* mountlist.c -- return a list of mounted filesystems - Copyright (C) 1991, 1992, 1997-2003 Free Software Foundation, Inc. + Copyright (C) 1991, 1992, 1997-2004 Free Software Foundation, Inc. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -53,6 +53,8 @@ extern int errno; #if defined MOUNTED_GETFSSTAT /* OSF_1 and Darwin1.3.x */ # if HAVE_SYS_UCRED_H +# include /* needed on OSF V4.0 for definition of NGROUPS, + NGROUPS is used as an array dimension in ucred.h */ # include /* needed by powerpc-apple-darwin1.3.7 */ # endif # if HAVE_SYS_MOUNT_H -- cgit v1.2.3-54-g00ecf