diff --git a/apps/s_socket.c b/apps/s_socket.c index a88de6c8c..77908b638 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