mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-12-21 10:47:49 +08:00
15 lines
323 B
Diff
15 lines
323 B
Diff
|
diff --git a/common/alstring.h b/common/alstring.h
|
||
|
index 194e54a1..5a5f87ed 100644
|
||
|
--- a/common/alstring.h
|
||
|
+++ b/common/alstring.h
|
||
|
@@ -4,6 +4,9 @@
|
||
|
#include <cstddef>
|
||
|
#include <string>
|
||
|
|
||
|
+// This fixes MinGW link errors. It defines strcasecmp and strncasecmp in string.h.
|
||
|
+#include <string.h>
|
||
|
+
|
||
|
#include "almalloc.h"
|
||
|
|
||
|
|