Bump to version 1.22.1
[platform/upstream/busybox.git] / libbb / match_fstype.c
index 83d6e67..32c3d7f 100644 (file)
@@ -12,6 +12,8 @@
 
 #include "libbb.h"
 
+#ifdef HAVE_MNTENT_H
+
 int FAST_FUNC match_fstype(const struct mntent *mt, const char *t_fstype)
 {
        int match = 1;
@@ -40,3 +42,5 @@ int FAST_FUNC match_fstype(const struct mntent *mt, const char *t_fstype)
 
        return !match;
 }
+
+#endif /* HAVE_MNTENT_H */