find: fix build failure on certain configs
authorDenis Vlasenko <vda.linux@googlemail.com>
Sun, 1 Jul 2007 17:35:17 +0000 (17:35 -0000)
committerDenis Vlasenko <vda.linux@googlemail.com>
Sun, 1 Jul 2007 17:35:17 +0000 (17:35 -0000)
(found by Cristian Ionescu-Idbohrn <cristian.ionescu-idbohrn@axis.com>)

findutils/find.c
libbb/Kbuild

index cb57665d6071d23390e806abc06d8bee9abba3e1..6f2cbbc78cf2d615646434fce044dfea6b761356 100644 (file)
@@ -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 == '+')
index ecd50a616c8cd2799f83228a99ffb2db88c2689c..65958671741d58db2c988cd7b1b112f0c344edb3 100644 (file)
@@ -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