diff options
author | tilghman <tilghman@f38db490-d61c-443f-a65b-d21fe96a405b> | 2009-08-03 15:42:10 +0000 |
---|---|---|
committer | tilghman <tilghman@f38db490-d61c-443f-a65b-d21fe96a405b> | 2009-08-03 15:42:10 +0000 |
commit | 2ffaec5b53773e415cbab6e20c45c75113f07406 (patch) | |
tree | 9c12736f90a1a3cf589a9faba24d0bd774b59578 /include | |
parent | 29a052dfe668658cad0d33959784e5bda8f72a88 (diff) |
Helps if we export the index() function.
(Related to issue #15639)
git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@210065 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'include')
-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 |