From: Jim Meyering Date: Mon, 15 Jul 2002 13:00:40 +0000 (+0000) Subject: #undef MNT_IGNORE before defining it, to avoid warning on FreeBSD. X-Git-Tag: FILEUTILS-4_1_10~61 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=33b79abe90b4b75ef76543a50871138492778150;p=thirdparty%2Fcoreutils.git #undef MNT_IGNORE before defining it, to avoid warning on FreeBSD. --- diff --git a/lib/mountlist.c b/lib/mountlist.c index ed91f9ec7e..f62a6e7882 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 #endif +#undef MNT_IGNORE #if defined MNTOPT_IGNORE && defined HAVE_HASMNTOPT # define MNT_IGNORE(M) hasmntopt ((M), MNTOPT_IGNORE) #else