diff options
author | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2005-03-25 21:06:14 +0000 |
---|---|---|
committer | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2005-03-25 21:06:14 +0000 |
commit | 968a04f3ec84e6d0f66da32d7b1e6469fa9e7a05 (patch) | |
tree | acf721bc7e79a354b9d4277a8f02717b91a1f971 | |
parent | a9bde38b55cc390bd7d80811ba48647e16eb4cc6 (diff) |
Fixed gentoo (mainly) compatibility -- missing strlcat in this implementation:
gcc version 3.3.5 (Gentoo Linux 3.3.5-r1, ssp-3.3.2-3, pie-8.7.7.1)
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@908 e03df62e-2008-0410-955e-edbf42e46eb7
-rw-r--r-- | include/inspstring.h | 1 | ||||
-rw-r--r-- | include/users.h | 2 | ||||
-rw-r--r-- | src/inspstring.cpp | 3 |
3 files changed, 5 insertions, 1 deletions
diff --git a/include/inspstring.h b/include/inspstring.h index 54264a3eb..c5a20e9e4 100644 --- a/include/inspstring.h +++ b/include/inspstring.h @@ -2,6 +2,7 @@ #define __IN_INSPSTRING_H #include "inspircd_config.h" +#include <cstddef> #ifndef HAS_STRLCPY size_t strlcpy(char *dst, const char *src, size_t siz); diff --git a/include/users.h b/include/users.h index e14637d06..fbe71d00a 100644 --- a/include/users.h +++ b/include/users.h @@ -17,7 +17,7 @@ #include "inspircd_config.h" #include "channels.h" #include "connection.h" - +#include "inspstring.h" #include <string> #ifndef __USERS_H__ diff --git a/src/inspstring.cpp b/src/inspstring.cpp index c4829ffbb..4f1875b8c 100644 --- a/src/inspstring.cpp +++ b/src/inspstring.cpp @@ -1,5 +1,8 @@ #include "inspircd_config.h" #include "inspstring.h" +#include <cstddef> +#include <string.h> +#include <stdio.h> /* * Copyright (c) 1998 Todd C. Miller <Todd.Miller@courtesan.com> |