commit | 9ad8da8217db155d2b48fe7bed91da794a71d071 | [log] [tgz] |
---|---|---|
author | Jens Axboe <axboe@kernel.dk> | Fri Apr 05 14:44:03 2013 +0200 |
committer | Jens Axboe <axboe@kernel.dk> | Fri Apr 05 14:44:03 2013 +0200 |
tree | 5e32deea8d72d2e1f9ca2c31f57b5813715a57c1 | |
parent | de98bd30b02bd89a78059d162b2c8426e889703d [diff] [blame] |
Add strcasestr() We'll need it for the next commit, if the platform does not provide it. Signed-off-by: Jens Axboe <axboe@kernel.dk>
diff --git a/lib/strcasestr.h b/lib/strcasestr.h new file mode 100644 index 0000000..43d61df --- /dev/null +++ b/lib/strcasestr.h
@@ -0,0 +1,13 @@ +#ifdef CONFIG_STRCASESTR + +#include <string.h> + +#else + +#ifndef FIO_STRCASESTR_H +#define FIO_STRCASESTR_H + +char *strcasestr(const char *haystack, const char *needle); + +#endif +#endif