From 1285437217a60194186b2c66a0422205b2dedd08 Mon Sep 17 00:00:00 2001 From: Matthias Andree Date: Sun, 28 Aug 2011 05:04:07 +0200 Subject: Fixes for FreeBSD build Signed-off-by: Matthias Andree Signed-off-by: Denys Vlasenko --- libbb/match_fstype.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'libbb/match_fstype.c') diff --git a/libbb/match_fstype.c b/libbb/match_fstype.c index 83d6e6770..c792d13b3 100644 --- a/libbb/match_fstype.c +++ b/libbb/match_fstype.c @@ -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 */ -- cgit v1.2.3