From 8f9858ba2f2fa410b8e0c20a7763517b6610fcb0 Mon Sep 17 00:00:00 2001 From: Nicholas Marriott Date: Sun, 16 Aug 2009 16:15:53 +0000 Subject: Solaris has no strsep(3). --- compat.h | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'compat.h') 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 @@ -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 **); -- cgit