Skip to content

Commit a91267c

Browse files
committed
CDRIVER-1032: Fix Windows build
1 parent 21fb47b commit a91267c

File tree

2 files changed

+5
-0
lines changed

2 files changed

+5
-0
lines changed

src/mongoc/mongoc-host-list.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,8 @@
1515
*/
1616

1717
#include "mongoc-host-list-private.h"
18+
/* strcasecmp on windows */
19+
#include "mongoc-util-private.h"
1820

1921

2022
/*

src/mongoc/mongoc-uri.c

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,9 @@
2121
#include <sys/types.h>
2222
#include <math.h>
2323

24+
/* strcasecmp on windows */
25+
#include "mongoc-util-private.h"
26+
2427
#include "mongoc-host-list.h"
2528
#include "mongoc-host-list-private.h"
2629
#include "mongoc-log.h"

0 commit comments

Comments
 (0)