summaryrefslogtreecommitdiffstats
path: root/compat.h
diff options
context:
space:
mode:
authorNicholas Marriott <nicholas.marriott@gmail.com>2009-07-02 07:31:02 +0000
committerNicholas Marriott <nicholas.marriott@gmail.com>2009-07-02 07:31:02 +0000
commit1f1623e04d8d926af440b98a5c20e5eac94bca11 (patch)
treeeaf3feb5d9c530c66fc274e0c53bdce46ae688cb /compat.h
parent3c0500f2824b6013e28d0d4b9722b8f676df4870 (diff)
Solaris has no strcasestr.
Diffstat (limited to 'compat.h')
-rw-r--r--compat.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/compat.h b/compat.h
index 8ef5eeba..71de746b 100644
--- a/compat.h
+++ b/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 **);