Skip to content
This repository was archived by the owner on Feb 1, 2022. It is now read-only.

Commit 5f794b4

Browse files
committed
PHP-1529: Ensure php-ssl.h has HAVE_MONGO_OPENSSL
Previously, HAVE_MONGO_OPENSSL might only be available if a previous header included config.h.
1 parent c23c1d4 commit 5f794b4

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

contrib/php-ssl.h

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,10 @@
2121
#ifndef MONGO_CONTRIB_SSL_H
2222
#define MONGO_CONTRIB_SSL_H
2323

24+
#ifdef HAVE_CONFIG_H
25+
# include "config.h"
26+
#endif
27+
2428
#ifdef PHP_WIN32
2529
# include "config.w32.h"
2630
#else

0 commit comments

Comments
 (0)