diff options
Diffstat (limited to 'src/htsbasenet.h')
-rw-r--r-- | src/htsbasenet.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/htsbasenet.h b/src/htsbasenet.h index a752db5..23901d0 100644 --- a/src/htsbasenet.h +++ b/src/htsbasenet.h @@ -59,6 +59,10 @@ Please visit our Website: http://www.httrack.com #define INVALID_SOCKET -1 #endif +#ifdef __cplusplus +extern "C" { +#endif + #if HTS_USEOPENSSL /* OpensSSL crypto routines by Eric Young (eay@cryptsoft.com) @@ -154,4 +158,8 @@ typedef enum HTTrackStatus { STATUS_FTP_READY = 1001 } HTTrackStatus; +#ifdef __cplusplus +} +#endif + #endif |