From: Richard Levitte Date: Fri, 22 Nov 2002 08:45:20 +0000 (+0000) Subject: Disable this module if OPENSSL_NO_SOCK is defined. X-Git-Tag: OpenSSL_0_9_6h~18^2~8 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=19aa3705739cc8bde71916b02ab019bab7bb945c;p=oweals%2Fopenssl.git Disable this module if OPENSSL_NO_SOCK is defined. --- diff --git a/apps/s_socket.c b/apps/s_socket.c index a88de6c8c8..77908b6380 100644 --- a/apps/s_socket.c +++ b/apps/s_socket.c @@ -62,7 +62,13 @@ #include #include -#include +#ifdef FLAT_INC +#include "e_os.h" +#else +#include "../e_os.h" +#endif + +#ifndef OPENSSL_NO_SOCK /* With IPv6, it looks like Digital has mixed up the proper order of recursive header file inclusion, resulting in the compiler complaining @@ -553,3 +559,5 @@ static struct hostent *GetHostByName(char *name) return(ret); } } + +#endif