diff --git a/e_os.h b/e_os.h index bfd7e36a1..a7eb59485 100644 --- a/e_os.h +++ b/e_os.h @@ -496,6 +496,10 @@ static unsigned int _strlen31(const char *str) /*************/ +#if defined(OPENSSL_NO_SOCK) && !defined(OPENSSL_NO_DGRAM) +# define OPENSSL_NO_DGRAM +#endif + #ifdef USE_SOCKETS # if defined(WINDOWS) || defined(MSDOS) /* windows world */