diff options
author | Nicholas Marriott <nicholas.marriott@gmail.com> | 2009-07-02 07:31:02 +0000 |
---|---|---|
committer | Nicholas Marriott <nicholas.marriott@gmail.com> | 2009-07-02 07:31:02 +0000 |
commit | 1f1623e04d8d926af440b98a5c20e5eac94bca11 (patch) | |
tree | eaf3feb5d9c530c66fc274e0c53bdce46ae688cb /compat.h | |
parent | 3c0500f2824b6013e28d0d4b9722b8f676df4870 (diff) | |
download | rtmux-1f1623e04d8d926af440b98a5c20e5eac94bca11.tar.gz rtmux-1f1623e04d8d926af440b98a5c20e5eac94bca11.tar.bz2 rtmux-1f1623e04d8d926af440b98a5c20e5eac94bca11.zip |
Solaris has no strcasestr.
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.5 2009-07-01 22:46:13 nicm Exp $ */ +/* $Id: compat.h,v 1.6 2009-07-02 07:30:59 nicm Exp $ */ /* * Copyright (c) 2007 Nicholas Marriott <nicm@users.sourceforge.net> @@ -119,6 +119,11 @@ #define TTY_NAME_MAX 32 #endif +#ifndef HAVE_STRCASESTR +/* strcasestr.c */ +char *strcasestr(const char *, const char *); +#endif + #ifndef HAVE_STRTONUM /* strtonum.c */ long long strtonum(const char *, long long, long long, const char **); |