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

Commit

Permalink
Merge pull request #884
Browse files Browse the repository at this point in the history
  • Loading branch information
jmikola committed Sep 5, 2017
2 parents b580684 + 9492c94 commit 5b5d9cb
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 4 deletions.
3 changes: 3 additions & 0 deletions contrib/php-ssl.c
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,9 @@
+----------------------------------------------------------------------+
*/

#ifdef HAVE_CONFIG_H
# include "config.h"
#endif

#ifdef PHP_WIN32
# include "config.w32.h"
Expand Down
4 changes: 4 additions & 0 deletions contrib/php-ssl.h
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,10 @@
#ifndef MONGO_CONTRIB_SSL_H
#define MONGO_CONTRIB_SSL_H

#ifdef HAVE_CONFIG_H
# include "config.h"
#endif

#ifdef PHP_WIN32
# include "config.w32.h"
#else
Expand Down
8 changes: 4 additions & 4 deletions io_stream.c
Original file line number Diff line number Diff line change
Expand Up @@ -30,10 +30,6 @@
# include <php_config.h>
#endif

#ifdef HAVE_MONGO_OPENSSL
# include "contrib/php-ssl.h"
#endif

#include <php.h>
#include <main/php_streams.h>
#include <main/php_network.h>
Expand All @@ -50,6 +46,10 @@
# include "config.h"
#endif

#ifdef HAVE_MONGO_OPENSSL
# include "contrib/php-ssl.h"
#endif

#if HAVE_MONGO_SASL
#include <sasl/sasl.h>
#include <sasl/saslutil.h>
Expand Down

0 comments on commit 5b5d9cb

Please sign in to comment.