aboutsummaryrefslogtreecommitdiffstats
path: root/common
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2020-06-26 05:39:26 -0700
committerChris Robinson <[email protected]>2020-06-26 05:39:26 -0700
commit31791c9997d06a3a315d2b936515f643430cd5e9 (patch)
treed37741c4003ba33709e89852f38598911d8cda5e /common
parentc4cf84c549f65bdffa07074862c492d98ec1251b (diff)
Workaround a MinGW quirk
Sometimes MinGW defines strncasecmp to _strnicmp in string.h, which can cause problems with al::strncasecmp if it's not consistently replaced.
Diffstat (limited to 'common')
-rw-r--r--common/alstring.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/common/alstring.h b/common/alstring.h
index 194e54a1..6c497190 100644
--- a/common/alstring.h
+++ b/common/alstring.h
@@ -2,6 +2,7 @@
#define AL_STRING_H
#include <cstddef>
+#include <cstring>
#include <string>
#include "almalloc.h"