On Wed, Mar 21, 2001 at 07:43:16PM +0100, [EMAIL PROTECTED] wrote:
> levitte 21-Mar-2001 19:43:15
> Modified: crypto/rand rand.h
> Log:
> Use stdlib.h to get size_t.
>
> Revision Changes Path
> 1.22 +1 -7 openssl/crypto/rand/rand.h
>
> Index: rand.h
> ===================================================================
> RCS file: /e/openssl/cvs/openssl/crypto/rand/rand.h,v
> retrieving revision 1.21
> retrieving revision 1.22
> diff -u -r1.21 -r1.22
> --- rand.h 2001/03/05 20:13:33 1.21
> +++ rand.h 2001/03/21 18:43:12 1.22
> @@ -59,13 +59,7 @@
> #ifndef HEADER_RAND_H
> #define HEADER_RAND_H
>
> -#include <openssl/e_os2.h>
> -
> -#if defined(OPENSSL_SYS_WINDOWS) || defined(OPENSSL_SYS_WIN32)
> -#include <windows.h>
> -#else
> -#include <sys/types.h>
> -#endif
> +#include <stdlib.h>
>
> #ifdef __cplusplus
> extern "C" {
rand.h uses types UINT, WPARAM, and LPARAM. I thought that this was
one of the reasons for including <windows.h> on appropriate
platforms.
--
Bodo Möller <[EMAIL PROTECTED]>
PGP http://www.informatik.tu-darmstadt.de/TI/Mitarbeiter/moeller/0x36d2c658.html
* TU Darmstadt, Theoretische Informatik, Alexanderstr. 10, D-64283 Darmstadt
* Tel. +49-6151-16-6628, Fax +49-6151-16-6036
______________________________________________________________________
OpenSSL Project http://www.openssl.org
Development Mailing List [EMAIL PROTECTED]
Automated List Manager [EMAIL PROTECTED]