$OpenBSD: patch-perdition_str_c,v 1.1 2013/03/15 15:17:36 sthen Exp $ avoid conflict with string.h --- perdition/str.c.orig Sat Nov 13 10:41:45 2010 +++ perdition/str.c Sat Nov 13 10:42:12 2010 @@ -721,7 +721,7 @@ char *str_replace(char *str, size_t n, ...) * the time. **********************************************************************/ -const char *strcasestr(const char *haystack, const char *needle) +const char *perdition_strcasestr(const char *haystack, const char *needle) { size_t i, haystack_len, needle_len; @@ -758,7 +758,7 @@ const char *strcasedelimword(const char *haystack, con { const char *found; - found = strcasestr(haystack, needle); + found = perdition_strcasestr(haystack, needle); if (!found) return NULL;