projects
/
platform
/
upstream
/
busybox.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Bump to version 1.22.1
[platform/upstream/busybox.git]
/
libbb
/
match_fstype.c
diff --git
a/libbb/match_fstype.c
b/libbb/match_fstype.c
index
83d6e67
..
32c3d7f
100644
(file)
--- a/
libbb/match_fstype.c
+++ b/
libbb/match_fstype.c
@@
-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 */