Skip to content

Commit 48d9654

Browse files
committed
PHPC-175: Fix header includes on Windows
1 parent e30ea0a commit 48d9654

File tree

4 files changed

+8
-14
lines changed

4 files changed

+8
-14
lines changed

php_phongo.c

Lines changed: 6 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -24,15 +24,13 @@
2424
# include "config.h"
2525
#endif
2626

27-
/* YCM */
28-
#include <strings.h>
2927
/* External libs */
30-
#include <bson.h>
31-
#include <mongoc.h>
32-
#include <mongoc-cursor-cursorid-private.h>
33-
#include <mongoc-read-prefs-private.h>
34-
#include <mongoc-bulk-operation-private.h>
35-
#include <mongoc-trace.h>
28+
#include "bson.h"
29+
#include "mongoc.h"
30+
#include "mongoc-cursor-cursorid-private.h"
31+
#include "mongoc-read-prefs-private.h"
32+
#include "mongoc-bulk-operation-private.h"
33+
#include "mongoc-trace.h"
3634

3735

3836
/* PHP Core stuff */

php_phongo.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,8 +22,8 @@
2222
#define PHONGO_H
2323

2424
/* External libs */
25-
#include <bson.h>
26-
#include <mongoc.h>
25+
#include "bson.h"
26+
#include "mongoc.h"
2727

2828
#define phpext_mongodb_ptr &mongodb_module_entry
2929
extern zend_module_entry mongodb_module_entry;

src/MongoDB/Manager.c

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,8 +24,6 @@
2424
# include "config.h"
2525
#endif
2626

27-
/* YCM */
28-
#include <strings.h>
2927
/* External libs */
3028
#include <bson.h>
3129
#include <mongoc.h>

src/MongoDB/Server.c

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,8 +24,6 @@
2424
# include "config.h"
2525
#endif
2626

27-
#include <strings.h>
28-
2927
/* External libs */
3028
#include <bson.h>
3129
#include <mongoc.h>

0 commit comments

Comments
 (0)