From 73327fb2d2a2da4b25e91e34ca121cac6b03fe42 Mon Sep 17 00:00:00 2001 From: snowdrop Date: Fri, 6 Jan 2006 14:09:27 +0000 Subject: added #ifdef HAVE_SSL check --- nanohttp/nanohttp-ssl.h | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) (limited to 'nanohttp/nanohttp-ssl.h') diff --git a/nanohttp/nanohttp-ssl.h b/nanohttp/nanohttp-ssl.h index f6f9219..c783812 100644 --- a/nanohttp/nanohttp-ssl.h +++ b/nanohttp/nanohttp-ssl.h @@ -22,13 +22,16 @@ * Descrip: Common ssl routines */ +/* Do enter only if --with-ssl was specified by the configure script */ +#ifdef HAVE_SSL + #ifdef TRU64 #include typedef unsigned int uint32_t; #endif -#ifndef __COMMON_H__ -#define __COMMON_H__ +#ifndef __NANOHTTP_SSL_H_ +#define __NANOHTTP_SSL_H_ #include @@ -95,3 +98,6 @@ SSL* init_ssl(SSL_CTX* ctx, int sock, int type); void ssl_cleanup(); #endif + +#endif /* HAVE_SSL */ + -- cgit v1.1-32-gdbae