aboutsummaryrefslogtreecommitdiff
path: root/ports/openal-soft/fix-mingw-build.patch
blob: ffb2db303a4ad477ba5c7c7a47e96d5664634f88 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
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"