diff options
Diffstat (limited to 'crypto/openssl/crypto/bio/bss_bio.c')
-rw-r--r-- | crypto/openssl/crypto/bio/bss_bio.c | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/crypto/openssl/crypto/bio/bss_bio.c b/crypto/openssl/crypto/bio/bss_bio.c index 2797049..aa58dab 100644 --- a/crypto/openssl/crypto/bio/bss_bio.c +++ b/crypto/openssl/crypto/bio/bss_bio.c @@ -28,16 +28,15 @@ #include <openssl/bio.h> #include <openssl/err.h> -#include <openssl/err.h> #include <openssl/crypto.h> -#include "openssl/e_os.h" +#include "e_os.h" -/* VxWorks defines SSiZE_MAX with an empty value causing compile errors */ -#if defined(VXWORKS) +/* VxWorks defines SSIZE_MAX with an empty value causing compile errors */ +#if defined(OPENSSL_SYS_VXWORKS) # undef SSIZE_MAX -# define SSIZE_MAX INT_MAX -#elif !defined(SSIZE_MAX) +#endif +#ifndef SSIZE_MAX # define SSIZE_MAX INT_MAX #endif |