mirror of
https://github.com/tmate-io/tmate.git
synced 2025-08-16 00:28:10 +02:00
Solaris has no strcasestr.
This commit is contained in:
7
compat.h
7
compat.h
@ -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 **);
|
||||
|
Reference in New Issue
Block a user