X-Git-Url: http://ftp.safe.ca/?a=blobdiff_plain;f=lib%2Ftextsearch.c;h=9fbcb44c554f9edbb2b2b439c20d5e18362cdc6d;hb=0127c3ea082ee9f1034789b978dfc7fd83254617;hp=b451fcc9354c0f1811ae268d62d2bc1990197ad8;hpb=b9c796783151678d08b1ec1ef410685b2515ba51;p=safe%2Fjmp%2Flinux-2.6 diff --git a/lib/textsearch.c b/lib/textsearch.c index b451fcc..9fbcb44 100644 --- a/lib/textsearch.c +++ b/lib/textsearch.c @@ -99,6 +99,7 @@ #include #include #include +#include #include #include #include @@ -266,7 +267,7 @@ struct ts_config *textsearch_prepare(const char *algo, const void *pattern, return ERR_PTR(-EINVAL); ops = lookup_ts_algo(algo); -#ifdef CONFIG_KMOD +#ifdef CONFIG_MODULES /* * Why not always autoload you may ask. Some users are * in a situation where requesting a module may deadlock,