* fsusage.c: Include sys/param.h before sys/mount.h - it's

required on some systems.
* mountlist.c: Likewise.
From Timur Bakeyev <mc@bat.ru>
This commit is contained in:
Pavel Roskin 2001-09-07 02:40:45 +00:00
parent 7a9716e6a9
commit 013466a02e
3 changed files with 15 additions and 0 deletions

View File

@ -1,3 +1,10 @@
2001-09-06 Pavel Roskin <proski@gnu.org>
* fsusage.c: Include sys/param.h before sys/mount.h - it's
required on some systems.
* mountlist.c: Likewise.
From Timur Bakeyev <mc@bat.ru>
2001-09-04 Pavel Roskin <proski@gnu.org>
* Makefile.am: Don't use substituted values directly. Define

View File

@ -21,6 +21,10 @@
#include <sys/types.h>
#ifdef HAVE_SYS_PARAM_H
#include <sys/param.h>
#endif
#ifdef HAVE_SYS_MOUNT_H
#include <sys/mount.h>
#endif

View File

@ -38,6 +38,10 @@ void free (void *ptr);
# include <unistd.h>
#endif
#ifdef HAVE_SYS_PARAM_H
#include <sys/param.h>
#endif
#if defined (MOUNTED_GETFSSTAT) /* __alpha running OSF_1 */
#include <sys/mount.h>
#include <sys/fs_types.h>