Skip to content

Commit f470f37

Browse files
bjoriajdavis
authored andcommitted
CDRIVER-1927 implicit declaration of function ‘strcasecmp’
1 parent a215562 commit f470f37

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/mongoc/mongoc-util-private.h

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,10 @@
2424
#include <bson.h>
2525
#include "mongoc.h"
2626

27+
#ifdef HAVE_STRINGS_H
28+
#include <strings.h>
29+
#endif
30+
2731
/* string comparison functions for Windows */
2832
#ifdef _WIN32
2933
# define strcasecmp _stricmp

0 commit comments

Comments
 (0)