diff options
Diffstat (limited to 'include/asterisk/compat.h')
-rw-r--r-- | include/asterisk/compat.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/include/asterisk/compat.h b/include/asterisk/compat.h index d91ce4a1a..f321665cd 100644 --- a/include/asterisk/compat.h +++ b/include/asterisk/compat.h @@ -50,6 +50,10 @@ size_t strnlen(const char *, size_t); char* strsep(char** str, const char* delims); #endif +#ifndef HAVE_INDEX +char *index(const char *haystack, int needle); +#endif + #ifndef HAVE_STRTOQ uint64_t strtoq(const char *nptr, char **endptr, int base); #endif |