Solaris has no strsep(3).

This commit is contained in:
Nicholas Marriott
2009-08-16 16:15:53 +00:00
parent ba42910595
commit 8f9858ba2f
3 changed files with 87 additions and 2 deletions

View File

@ -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 **);