Skip to content

Commit fbe52fa

Browse files
committed
util: fix missing headers for MinGW environments
There are multiple references to undefined functions in the Microsoft builds. Add headers to make them known.
1 parent 9e8bc72 commit fbe52fa

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

src/util.c

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,12 @@
1010
#include "common.h"
1111

1212
#ifdef GIT_WIN32
13+
# include "win32/utf-conv.h"
1314
# include "win32/w32_buffer.h"
15+
16+
# ifdef HAVE_QSORT_S
17+
# include <search.h>
18+
# endif
1419
#endif
1520

1621
#ifdef _MSC_VER

0 commit comments

Comments
 (0)