summaryrefslogtreecommitdiff
path: root/ace/OS_NS_stdlib.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'ace/OS_NS_stdlib.cpp')
-rw-r--r--ace/OS_NS_stdlib.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/ace/OS_NS_stdlib.cpp b/ace/OS_NS_stdlib.cpp
index 4ab01e98f68..6c9e5bca0d8 100644
--- a/ace/OS_NS_stdlib.cpp
+++ b/ace/OS_NS_stdlib.cpp
@@ -23,6 +23,7 @@ ACE_RCSID (ace,
#if defined (ACE_LACKS_MKSTEMP)
# include "ace/OS_NS_fcntl.h"
+# include "ace/OS_NS_ctype.h"
# include "ace/OS_NS_sys_time.h"
# include <limits>
@@ -642,7 +643,7 @@ ACE_OS::mkstemp_emulation (ACE_TCHAR * s)
do
{
r =
- static_cast<ACE_TCHAR> (coefficient * ACE_OS::rand_r (&seed));
+ static_cast<ACE_TCHAR> (coefficient * ACE_OS::rand_r (seed));
}
while (!ACE_OS::ace_isalnum (r));