summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--poppler/GlobalParams.cc2
-rw-r--r--test/perf-test.cc2
2 files changed, 4 insertions, 0 deletions
diff --git a/poppler/GlobalParams.cc b/poppler/GlobalParams.cc
index 09a1b203..bf795859 100644
--- a/poppler/GlobalParams.cc
+++ b/poppler/GlobalParams.cc
@@ -68,6 +68,8 @@
#ifdef _WIN32
# define strcasecmp stricmp
+#else
+# include <strings.h>
#endif
#if MULTITHREADED
diff --git a/test/perf-test.cc b/test/perf-test.cc
index a11a3770..6d6961ea 100644
--- a/test/perf-test.cc
+++ b/test/perf-test.cc
@@ -22,6 +22,8 @@
#ifdef _WIN32
#include <windows.h>
+#else
+#include <strings.h>
#endif
// Define COPY_FILE if you want the file to be copied to a local disk first