From d933cd62cb7b88620aa6de431a41e565f96cf056 Mon Sep 17 00:00:00 2001 From: "rob rob@31f1291d-b8d6-0310-a050-a5561fc1590b" Date: Tue, 22 Aug 2006 09:28:08 +0000 Subject: BUILD : 1.7.15 (1139) BUGS : N/A NOTES : Applied pelxus3 fixs from ThaPrince git-svn-id: svn://svn.anope.org/anope/trunk@1139 31f1291d-b8d6-0310-a050-a5561fc1590b git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@862 5417fbe8-f217-4b02-8779-1006273d7864 --- include/extern.h | 6 ++++++ include/sysconf.h.in | 6 ++++++ 2 files changed, 12 insertions(+) (limited to 'include') diff --git a/include/extern.h b/include/extern.h index 18fd359de..5e2940c99 100644 --- a/include/extern.h +++ b/include/extern.h @@ -798,6 +798,12 @@ E int m_version(char *source, int ac, char **av); E int toupper(char); E int tolower(char); E char *strscpy(char *d, const char *s, size_t len); +#ifndef HAVE_STRLCPY +E size_t strlcpy(char *, const char *, size_t); +#endif +#ifndef HAVE_STRLCAT +E size_t strlcat(char *, const char *, size_t); +#endif E char *stristr(char *s1, char *s2); E char *strnrepl(char *s, int32 size, const char *old, const char *new); E char *merge_args(int argc, char **argv); diff --git a/include/sysconf.h.in b/include/sysconf.h.in index 6e61fcd32..e61bacb1c 100644 --- a/include/sysconf.h.in +++ b/include/sysconf.h.in @@ -63,6 +63,12 @@ /* Define to 1 if you have the header file. */ #undef HAVE_STRING_H +/* Define to 1 if you have the `strlcat' function. */ +#undef HAVE_STRLCAT + +/* Define to 1 if you have the `strlcpy' function. */ +#undef HAVE_STRLCPY + /* Define to 1 if you have the `strsignal' function. */ #undef HAVE_STRSIGNAL -- cgit