Mercurial > hg > octave-kai > gnulib-hg
changeset 7273:fadbb801a2a2
Avoid new build failure on FreeBSD 6.0.
* ls-mntd-fs.m4 (gl_LIST_MOUNTED_FILE_SYSTEMS): Include <sys/param.h>
when testing whether getmntinfo uses statvfs. Patch by Pavel Tsekov,
in <http://savannah.gnu.org/bugs/?17643>.
author | Jim Meyering <jim@meyering.net> |
---|---|
date | Fri, 08 Sep 2006 09:10:56 +0000 |
parents | 5ebe78cc0cb8 |
children | 9ff9e0f3d681 |
files | m4/ChangeLog m4/ls-mntd-fs.m4 |
diffstat | 2 files changed, 11 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/m4/ChangeLog +++ b/m4/ChangeLog @@ -1,3 +1,10 @@ +2006-09-08 Jim Meyering <jim@meyering.net> + + Avoid new build failure on FreeBSD 6.0. + * ls-mntd-fs.m4 (gl_LIST_MOUNTED_FILE_SYSTEMS): Include <sys/param.h> + when testing whether getmntinfo uses statvfs. Patch by Pavel Tsekov, + in <http://savannah.gnu.org/bugs/?17643>. + 2006-09-07 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> * fsusage.m4 (gl_FILE_SYSTEM_USAGE): Don't use plain echo.
--- a/m4/ls-mntd-fs.m4 +++ b/m4/ls-mntd-fs.m4 @@ -1,4 +1,4 @@ -#serial 23 +#serial 24 # How to list mounted file systems. # Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2006 Free Software @@ -237,6 +237,9 @@ AC_CACHE_VAL(fu_cv_sys_mounted_getmntinfo2, [ AC_TRY_COMPILE([ +#if HAVE_SYS_PARAM_H +# include <sys/param.h> +#endif #include <sys/types.h> #if HAVE_SYS_MOUNT_H # include <sys/mount.h>