summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorrob rob@31f1291d-b8d6-0310-a050-a5561fc1590b <rob rob@31f1291d-b8d6-0310-a050-a5561fc1590b@5417fbe8-f217-4b02-8779-1006273d7864>2006-08-22 09:28:08 +0000
committerrob rob@31f1291d-b8d6-0310-a050-a5561fc1590b <rob rob@31f1291d-b8d6-0310-a050-a5561fc1590b@5417fbe8-f217-4b02-8779-1006273d7864>2006-08-22 09:28:08 +0000
commitd933cd62cb7b88620aa6de431a41e565f96cf056 (patch)
tree52208b5dbe510d0cfa652acbd3f51ef6b0866256 /include
parentd222e75a6dc2a6eb5c48ce6f7a121286b5da7142 (diff)
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
Diffstat (limited to 'include')
-rw-r--r--include/extern.h6
-rw-r--r--include/sysconf.h.in6
2 files changed, 12 insertions, 0 deletions
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 <string.h> 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