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

Commit 9492c94

Browse files
committed
PHP-1529: Move HAVE_MONGO_OPENSSL usage below explicit config.h include
This is consistent with HAVE_MONGO_SASL usage and no longer assumes that php_mongo.h will include config.h.
1 parent 5f794b4 commit 9492c94

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

io_stream.c

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -30,10 +30,6 @@
3030
# include <php_config.h>
3131
#endif
3232

33-
#ifdef HAVE_MONGO_OPENSSL
34-
# include "contrib/php-ssl.h"
35-
#endif
36-
3733
#include <php.h>
3834
#include <main/php_streams.h>
3935
#include <main/php_network.h>
@@ -50,6 +46,10 @@
5046
# include "config.h"
5147
#endif
5248

49+
#ifdef HAVE_MONGO_OPENSSL
50+
# include "contrib/php-ssl.h"
51+
#endif
52+
5353
#if HAVE_MONGO_SASL
5454
#include <sasl/sasl.h>
5555
#include <sasl/saslutil.h>

0 commit comments

Comments
 (0)