summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>2002-07-15 13:00:40 +0000
committerJim Meyering <jim@meyering.net>2002-07-15 13:00:40 +0000
commit33b79abe90b4b75ef76543a50871138492778150 (patch)
tree470908cafa91d3f51d56047a113ed941d19ee095 /lib
parentbac77ea3d9160df1df844f6b24d9595c18431734 (diff)
downloadcoreutils-33b79abe90b4b75ef76543a50871138492778150.tar.xz
#undef MNT_IGNORE before defining it, to avoid warning on FreeBSD.
Diffstat (limited to 'lib')
-rw-r--r--lib/mountlist.c3
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