summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--SystemTools.cxx4
1 files changed, 4 insertions, 0 deletions
diff --git a/SystemTools.cxx b/SystemTools.cxx
index 4281c38..c97af25 100644
--- a/SystemTools.cxx
+++ b/SystemTools.cxx
@@ -66,6 +66,10 @@
#include <sys/stat.h>
#include <time.h>
+#if defined(_WIN32) && !defined(_MSC_VER) && defined(__GNUC__)
+# include <strings.h> /* for strcasecmp */
+#endif
+
#ifdef _MSC_VER
# define umask _umask // Note this is still umask on Borland
#endif