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 a88de6c8c85c8cafca7d1e1561251916896f5815..77908b638019df0cf0bbc92f266bd3a5e2cb00d0 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