OpenBSD headers have strcasestr

This commit is contained in:
Vincent Sanders 2014-05-02 11:46:39 +01:00
parent 99c997bfc6
commit 3c8769cc4b

View File

@ -31,7 +31,7 @@
char *strndup(const char *s, size_t n);
#endif
#if (defined(_GNU_SOURCE) || defined(__APPLE__) || defined(__HAIKU__))
#if (defined(_GNU_SOURCE) || defined(__APPLE__) || defined(__HAIKU__)) || defined(__OpenBSD__))
#define HAVE_STRCASESTR
#else
#undef HAVE_STRCASESTR