diff options
Diffstat (limited to 'nanohttp/nanohttp-ssl.h')
-rw-r--r-- | nanohttp/nanohttp-ssl.h | 10 |
1 files changed, 8 insertions, 2 deletions
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 <arpa/inet.h> typedef unsigned int uint32_t; #endif -#ifndef __COMMON_H__ -#define __COMMON_H__ +#ifndef __NANOHTTP_SSL_H_ +#define __NANOHTTP_SSL_H_ #include <openssl/ssl.h> @@ -95,3 +98,6 @@ SSL* init_ssl(SSL_CTX* ctx, int sock, int type); void ssl_cleanup(); #endif + +#endif /* HAVE_SSL */ + |