Skip to content

Commit 1a402f6

Browse files
committed
Only include mongoc-ssl.h when built with SSL
1 parent bce6732 commit 1a402f6

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/mongoc/mongoc-client-pool.h

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,9 @@
2828

2929
#include "mongoc-client.h"
3030
#include "mongoc-config.h"
31-
#include "mongoc-ssl.h"
31+
#ifdef MONGOC_ENABLE_SSL
32+
# include "mongoc-ssl.h"
33+
#endif
3234
#include "mongoc-uri.h"
3335

3436

0 commit comments

Comments
 (0)