aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDenis Vlasenko <vda.linux@googlemail.com>2007-07-01 17:35:17 +0000
committerDenis Vlasenko <vda.linux@googlemail.com>2007-07-01 17:35:17 +0000
commit4b9b0ced3010630c0bd604d9a42867ef56dbb36a (patch)
tree1ac4f6bd4216ed0cd70cc3eb40a7f4073f164568
parent99fcc6252332599c1b620d05467cee188a48b718 (diff)
downloadbusybox-4b9b0ced3010630c0bd604d9a42867ef56dbb36a.tar.gz
find: fix build failure on certain configs
(found by Cristian Ionescu-Idbohrn <cristian.ionescu-idbohrn@axis.com>)
-rw-r--r--findutils/find.c5
-rw-r--r--libbb/Kbuild1
2 files changed, 4 insertions, 2 deletions
diff --git a/findutils/find.c b/findutils/find.c
index cb57665d6..6f2cbbc78 100644
--- a/findutils/find.c
+++ b/findutils/find.c
@@ -425,8 +425,9 @@ static int find_type(const char *type)
}
#endif
-#if ENABLE_FEATURE_FIND_PERM || ENABLE_FEATURE_FIND_MTIME \
- || ENABLE_FEATURE_FIND_MMIN
+#if ENABLE_FEATURE_FIND_PERM \
+ || ENABLE_FEATURE_FIND_MTIME || ENABLE_FEATURE_FIND_MMIN \
+ || ENABLE_FEATURE_FIND_SIZE
static const char* plus_minus_num(const char* str)
{
if (*str == '-' || *str == '+')
diff --git a/libbb/Kbuild b/libbb/Kbuild
index ecd50a616..659586717 100644
--- a/libbb/Kbuild
+++ b/libbb/Kbuild
@@ -126,3 +126,4 @@ lib-$(CONFIG_EXPR) += xregcomp.o
lib-$(CONFIG_MDEV) += xregcomp.o
lib-$(CONFIG_LESS) += xregcomp.o
lib-$(CONFIG_DEVFSD) += xregcomp.o
+lib-$(CONFIG_FEATURE_FIND_REGEX) += xregcomp.o