diff options
author | Nicholas Marriott <nicholas.marriott@gmail.com> | 2009-08-16 16:15:53 +0000 |
---|---|---|
committer | Nicholas Marriott <nicholas.marriott@gmail.com> | 2009-08-16 16:15:53 +0000 |
commit | 8f9858ba2f2fa410b8e0c20a7763517b6610fcb0 (patch) | |
tree | 0c8cef5a049d579146cd316df35ceb8d758a6122 /compat.h | |
parent | ba42910595f47a611878ea52dd14901dfc0414e6 (diff) | |
download | rtmux-8f9858ba2f2fa410b8e0c20a7763517b6610fcb0.tar.gz rtmux-8f9858ba2f2fa410b8e0c20a7763517b6610fcb0.tar.bz2 rtmux-8f9858ba2f2fa410b8e0c20a7763517b6610fcb0.zip |
Solaris has no strsep(3).
Diffstat (limited to 'compat.h')
-rw-r--r-- | compat.h | 7 |
1 files changed, 6 insertions, 1 deletions
@@ -1,4 +1,4 @@ -/* $Id: compat.h,v 1.9 2009-08-14 21:13:48 tcunha Exp $ */ +/* $Id: compat.h,v 1.10 2009-08-16 16:15:53 nicm Exp $ */ /* * Copyright (c) 2007 Nicholas Marriott <nicm@users.sourceforge.net> @@ -133,6 +133,11 @@ char *strcasestr(const char *, const char *); #endif +#ifndef HAVE_STRSEP +/* strsep.c */ +char *strsep(char **, const char *); +#endif + #ifndef HAVE_STRTONUM /* strtonum.c */ long long strtonum(const char *, long long, long long, const char **); |