diff options
Diffstat (limited to 'indra/llcommon/llstring.h')
-rw-r--r-- | indra/llcommon/llstring.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/indra/llcommon/llstring.h b/indra/llcommon/llstring.h index 6e9ea0b5a0..cbfc2a2a75 100644 --- a/indra/llcommon/llstring.h +++ b/indra/llcommon/llstring.h @@ -19,6 +19,7 @@ #include <stdlib.h> #include <errno.h> #include <math.h> +#include <stdarg.h> /* for vsnprintf */ #if LL_LINUX #include <wctype.h> #include <wchar.h> @@ -445,6 +446,9 @@ std::ostream& operator<<(std::ostream &s, const LLStringBase<T> &str) std::ostream& operator<<(std::ostream &s, const LLWString &wstr); +#if LL_WINDOWS +int safe_snprintf(char *str, size_t size, const char *format, ...); +#endif // LL_WINDOWS /** * Many of the 'strip' and 'replace' methods of LLStringBase need |