find: fix build failure on certain configs

(found by Cristian Ionescu-Idbohrn <cristian.ionescu-idbohrn@axis.com>)
This commit is contained in:
Denis Vlasenko 2007-07-01 17:35:17 +00:00
parent 99fcc62523
commit 4b9b0ced30
2 changed files with 4 additions and 2 deletions

View File

@ -425,8 +425,9 @@ static int find_type(const char *type)
} }
#endif #endif
#if ENABLE_FEATURE_FIND_PERM || ENABLE_FEATURE_FIND_MTIME \ #if ENABLE_FEATURE_FIND_PERM \
|| ENABLE_FEATURE_FIND_MMIN || ENABLE_FEATURE_FIND_MTIME || ENABLE_FEATURE_FIND_MMIN \
|| ENABLE_FEATURE_FIND_SIZE
static const char* plus_minus_num(const char* str) static const char* plus_minus_num(const char* str)
{ {
if (*str == '-' || *str == '+') if (*str == '-' || *str == '+')

View File

@ -126,3 +126,4 @@ lib-$(CONFIG_EXPR) += xregcomp.o
lib-$(CONFIG_MDEV) += xregcomp.o lib-$(CONFIG_MDEV) += xregcomp.o
lib-$(CONFIG_LESS) += xregcomp.o lib-$(CONFIG_LESS) += xregcomp.o
lib-$(CONFIG_DEVFSD) += xregcomp.o lib-$(CONFIG_DEVFSD) += xregcomp.o
lib-$(CONFIG_FEATURE_FIND_REGEX) += xregcomp.o