src: fix --without-ssl build
authorBen Noordhuis <info@bnoordhuis.nl>
Mon, 2 Mar 2015 22:18:44 +0000 (23:18 +0100)
committerBen Noordhuis <info@bnoordhuis.nl>
Mon, 2 Mar 2015 23:17:27 +0000 (00:17 +0100)
Don't include tls_wrap.h in stream_base.cc.  It's not used and it breaks
the build when --without-ssl is passed to configure.

Fixes the following build error:

    In file included from ../src/tls_wrap.h:5:0,
                     from ../src/stream_base.cc:10:
    ../src/node_crypto.h:20:25: fatal error: openssl/ssl.h:
    No such file or directory
     #include <openssl/ssl.h>

PR-URL: https://github.com/iojs/io.js/pull/1027
Reviewed-By: Johan Bergström <bugs@bergstroem.nu>
src/stream_base.cc

index fb6f532..bd963bc 100644 (file)
@@ -7,7 +7,6 @@
 #include "env-inl.h"
 #include "js_stream.h"
 #include "string_bytes.h"
-#include "tls_wrap.h"
 #include "util.h"
 #include "util-inl.h"
 #include "v8.h"