summaryrefslogtreecommitdiff
path: root/libbb
diff options
context:
space:
mode:
authorMatthias Andree2011-08-28 05:04:07 +0200
committerDenys Vlasenko2011-08-28 05:05:02 +0200
commit1285437217a60194186b2c66a0422205b2dedd08 (patch)
tree919a3db42128b8780d6c9d59ea826c585ffb7e47 /libbb
parenta04e4c2266241b1af8f50b0d78f13be866b405c4 (diff)
downloadbusybox-1285437217a60194186b2c66a0422205b2dedd08.zip
busybox-1285437217a60194186b2c66a0422205b2dedd08.tar.gz
Fixes for FreeBSD build
Signed-off-by: Matthias Andree <mandree@freebsd.org> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'libbb')
-rw-r--r--libbb/match_fstype.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/libbb/match_fstype.c b/libbb/match_fstype.c
index 83d6e67..c792d13 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 */