Disable this module if OPENSSL_NO_SOCK is defined.
authorRichard Levitte <levitte@openssl.org>
Fri, 22 Nov 2002 08:45:20 +0000 (08:45 +0000)
committerRichard Levitte <levitte@openssl.org>
Fri, 22 Nov 2002 08:45:20 +0000 (08:45 +0000)
apps/s_socket.c

index a88de6c..77908b6 100644 (file)
 #include <errno.h>
 #include <signal.h>
 
-#include <openssl/e_os2.h>
+#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