summaryrefslogtreecommitdiffstats
path: root/nanohttp/nanohttp-ssl.c
diff options
context:
space:
mode:
Diffstat (limited to 'nanohttp/nanohttp-ssl.c')
-rw-r--r--nanohttp/nanohttp-ssl.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/nanohttp/nanohttp-ssl.c b/nanohttp/nanohttp-ssl.c
index c2f578b..93dcb6a 100644
--- a/nanohttp/nanohttp-ssl.c
+++ b/nanohttp/nanohttp-ssl.c
@@ -21,6 +21,9 @@
* Descrip: SSL connection routines
*/
+/* Enter only if --with-ssl was specified to the configure script */
+#ifdef HAVE_SSL
+
#include <sys/types.h>
#ifndef WIN32
#include <netinet/in.h>
@@ -360,3 +363,5 @@ void ssl_cleanup(SSL* ssl)
}
}
+#endif /* end of ifdef HAVE_SSL */
+