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

Commit 5b5d9cb

Browse files
committed
Merge pull request #884
2 parents b580684 + 9492c94 commit 5b5d9cb

File tree

3 files changed

+11
-4
lines changed

3 files changed

+11
-4
lines changed

contrib/php-ssl.c

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,9 @@
1818
+----------------------------------------------------------------------+
1919
*/
2020

21+
#ifdef HAVE_CONFIG_H
22+
# include "config.h"
23+
#endif
2124

2225
#ifdef PHP_WIN32
2326
# include "config.w32.h"

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

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)