aboutsummaryrefslogtreecommitdiff
path: root/compat.h
diff options
context:
space:
mode:
authorNicholas Marriott <nicholas.marriott@gmail.com>2009-08-16 16:15:53 +0000
committerNicholas Marriott <nicholas.marriott@gmail.com>2009-08-16 16:15:53 +0000
commit8f9858ba2f2fa410b8e0c20a7763517b6610fcb0 (patch)
tree0c8cef5a049d579146cd316df35ceb8d758a6122 /compat.h
parentba42910595f47a611878ea52dd14901dfc0414e6 (diff)
downloadrtmux-8f9858ba2f2fa410b8e0c20a7763517b6610fcb0.tar.gz
rtmux-8f9858ba2f2fa410b8e0c20a7763517b6610fcb0.tar.bz2
rtmux-8f9858ba2f2fa410b8e0c20a7763517b6610fcb0.zip
Solaris has no strsep(3).
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 53fa36a6..b04386f6 100644
--- a/compat.h
+++ b/compat.h
@@ -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 **);