Fix warning.
[oweals/openssl.git] / e_os.h
diff --git a/e_os.h b/e_os.h
index bfd7e36a1995355c00a0fa0bcf377a2c90e05e48..a7eb594858d725e561b629c35579aae8b80f8744 100644 (file)
--- 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 */