Signed-off-by: Jens Axboe <axboe@fb.com>
T_ZIPF_OBS = t/genzipf.o
T_ZIPF_OBJS += t/log.o lib/ieee754.o lib/rand.o lib/pattern.o lib/zipf.o \
T_ZIPF_OBS = t/genzipf.o
T_ZIPF_OBJS += t/log.o lib/ieee754.o lib/rand.o lib/pattern.o lib/zipf.o \
- lib/strntol.o lib/gauss.o t/genzipf.o
+ lib/strntol.o lib/gauss.o t/genzipf.o oslib/strcasestr.o
T_ZIPF_PROGS = t/fio-genzipf
T_AXMAP_OBJS = t/axmap.o
T_ZIPF_PROGS = t/fio-genzipf
T_AXMAP_OBJS = t/axmap.o
#include <ctype.h>
#include <stddef.h>
#include <ctype.h>
#include <stddef.h>
+#ifndef CONFIG_STRCASESTR
+
char *strcasestr(const char *s1, const char *s2)
{
const char *s = s1;
char *strcasestr(const char *s1, const char *s2)
{
const char *s = s1;
return *p ? NULL : (char *) s1;
}
return *p ? NULL : (char *) s1;
}