Fixes for FreeBSD build
Signed-off-by: Matthias Andree <mandree@freebsd.org> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
This commit is contained in:
parent
a04e4c2266
commit
1285437217
@ -417,6 +417,8 @@ typedef unsigned smalluint;
|
||||
# undef HAVE_STRVERSCMP
|
||||
# undef HAVE_XTABS
|
||||
# undef HAVE_DPRINTF
|
||||
# undef HAVE_UNLOCKED_STDIO
|
||||
# undef HAVE_UNLOCKED_LINE_OPS
|
||||
#endif
|
||||
|
||||
#if defined(__FreeBSD__)
|
||||
|
@ -10,6 +10,8 @@
|
||||
* Licensed under GPLv2 or later, see file LICENSE in this source tree.
|
||||
*/
|
||||
|
||||
#ifdef HAVE_MNTENT_H
|
||||
|
||||
#include "libbb.h"
|
||||
|
||||
int FAST_FUNC match_fstype(const struct mntent *mt, const char *t_fstype)
|
||||
@ -40,3 +42,5 @@ int FAST_FUNC match_fstype(const struct mntent *mt, const char *t_fstype)
|
||||
|
||||
return !match;
|
||||
}
|
||||
|
||||
#endif /* HAVE_MNTENT_H */
|
||||
|
Loading…
Reference in New Issue
Block a user