commit | b7a9498a8eb29e2d9f9279b64d66683a222aebc7 | [log] [tgz] |
---|---|---|
author | Pekka Paalanen <ppaalanen@gmail.com> | Tue Jun 12 17:42:25 2012 +0300 |
committer | Kristian Høgsberg <krh@bitplanet.net> | Tue Jun 12 12:29:13 2012 -0400 |
tree | 1944899f41802f9d3311f5cff7ef6ec38174077c | |
parent | b79b63531222352b91137b978fe552e0e8091cdf [diff] [blame] |
compositor: add fallback strchrnul() Android does not have this function. Signed-off-by: Pekka Paalanen <ppaalanen@gmail.com>
diff --git a/shared/os-compatibility.h b/shared/os-compatibility.h index b2021f1..c1edcfb 100644 --- a/shared/os-compatibility.h +++ b/shared/os-compatibility.h
@@ -46,4 +46,9 @@ int os_create_anonymous_file(off_t size); +#ifndef HAVE_STRCHRNUL +char * +strchrnul(const char *s, int c); +#endif + #endif /* OS_COMPATIBILITY_H */