diff options
Diffstat (limited to 'src/string_func.h')
-rw-r--r-- | src/string_func.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/string_func.h b/src/string_func.h index bf7159751..c63fc6719 100644 --- a/src/string_func.h +++ b/src/string_func.h @@ -234,8 +234,9 @@ static inline bool IsWhitespace(WChar c) } #ifndef _GNU_SOURCE -/* strndup is a GNU extension */ +/* strndup and strcasestr are GNU extensions */ char *strndup(const char *s, size_t len); +const char *strcasestr(const char *haystack, const char *needle); #endif /* !_GNU_SOURCE */ #endif /* STRING_FUNC_H */ |