diff options
author | Jim Meyering <jim@meyering.net> | 2002-07-15 13:00:40 +0000 |
---|---|---|
committer | Jim Meyering <jim@meyering.net> | 2002-07-15 13:00:40 +0000 |
commit | 33b79abe90b4b75ef76543a50871138492778150 (patch) | |
tree | 470908cafa91d3f51d56047a113ed941d19ee095 /lib | |
parent | bac77ea3d9160df1df844f6b24d9595c18431734 (diff) | |
download | coreutils-33b79abe90b4b75ef76543a50871138492778150.tar.xz |
#undef MNT_IGNORE before defining it, to avoid warning on FreeBSD.
Diffstat (limited to 'lib')
-rw-r--r-- | lib/mountlist.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/mountlist.c b/lib/mountlist.c index ed91f9ec7..f62a6e788 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-2001 Free Software Foundation, Inc. + Copyright (C) 1991, 1992, 1997-2002 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 @@ -136,6 +136,7 @@ extern int errno; # include <sys/mntent.h> #endif +#undef MNT_IGNORE #if defined MNTOPT_IGNORE && defined HAVE_HASMNTOPT # define MNT_IGNORE(M) hasmntopt ((M), MNTOPT_IGNORE) #else |