From 355a2f357d30ad03753c1b632c01143d3e8b107d Mon Sep 17 00:00:00 2001 From: Crayon2000 Date: Fri, 8 Jan 2016 17:50:30 -0500 Subject: [PATCH] To use wcstombs with C++Builder we need to include stdlib.h wcstombs was supported in C++Builder 2010 : http://docwiki.embarcadero.com/RADStudio/2010/en/Wcstombs --- misc.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/misc.h b/misc.h index f7dc8165..090b2972 100644 --- a/misc.h +++ b/misc.h @@ -1,4 +1,4 @@ -// misc.h - written and placed in the public domain by Wei Dai +// misc.h - written and placed in the public domain by Wei Dai //! \file misc.h //! \brief Utility functions for the Crypto++ library. @@ -51,6 +51,7 @@ #ifdef __BORLANDC__ #include +#include #endif #if defined(__GNUC__) && defined(__linux__)