diff options
Diffstat (limited to 'nanohttp/nanohttp-ssl.h')
-rw-r--r-- | nanohttp/nanohttp-ssl.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/nanohttp/nanohttp-ssl.h b/nanohttp/nanohttp-ssl.h index a0e0665..798a1ee 100644 --- a/nanohttp/nanohttp-ssl.h +++ b/nanohttp/nanohttp-ssl.h @@ -25,6 +25,10 @@ /* Do enter only if --with-ssl was specified by the configure script */ #ifdef HAVE_SSL +#ifdef __cplusplus +extern "C" { +#endif + #ifdef TRU64 #include <arpa/inet.h> typedef unsigned int uint32_t; @@ -116,4 +120,8 @@ int ssl_checkFatal( SSL *ssl, int status ); #endif +#ifdef __cplusplus +} +#endif + #endif /* HAVE_SSL */ |