From 65e32a3af2a708c6edab190644d6d18b04fde567 Mon Sep 17 00:00:00 2001 From: Jim Meyering Date: Sat, 29 Sep 2001 08:13:18 +0000 Subject: [PATCH] (jm_LIST_MOUNTED_FILESYSTEMS) [one-argument getmntent function]): Include stdio.h before mntent.h. SunOS4.1.x needs it for the declaration of `FILE'. Patch by Volker Borchert. --- m4/ls-mntd-fs.m4 | 3 +++ 1 file changed, 3 insertions(+) diff --git a/m4/ls-mntd-fs.m4 b/m4/ls-mntd-fs.m4 index 969b25898..17d282fe9 100644 --- a/m4/ls-mntd-fs.m4 +++ b/m4/ls-mntd-fs.m4 @@ -61,6 +61,9 @@ if test $ac_cv_func_getmntent = yes; then AC_MSG_CHECKING([for one-argument getmntent function]) AC_CACHE_VAL(fu_cv_sys_mounted_getmntent1, [AC_TRY_COMPILE([ +/* SunOS 4.1.x /usr/include/mntent.h needs this for FILE */ +#include + #include #if !defined MOUNTED # if defined _PATH_MOUNTED /* GNU libc */ -- 2.11.0