util: fix missing headers for MinGW environments There are multiple references to undefined functions in the Microsoft builds. Add headers to make them known.
diff --git a/src/util.c b/src/util.c
index 34841df..2955b7c 100644
--- a/src/util.c
+++ b/src/util.c
@@ -10,7 +10,12 @@
#include "common.h"
#ifdef GIT_WIN32
+# include "win32/utf-conv.h"
# include "win32/w32_buffer.h"
+
+# ifdef HAVE_QSORT_S
+# include <search.h>
+# endif
#endif
#ifdef _MSC_VER