From 4cce1f14e964edf1bf2d9fb8286ee002a67dc212 Mon Sep 17 00:00:00 2001 From: Albert Astals Cid Date: Tue, 13 Apr 2010 20:57:16 +0000 Subject: include strings.h on non windows platforms See also https://bugs.freedesktop.org/show_bug.cgi?id=27610 and http://bugs.gentoo.org/show_bug.cgi?id=314925 --- diff --git a/poppler/GlobalParams.cc b/poppler/GlobalParams.cc index 09a1b20..bf79585 100644 --- a/poppler/GlobalParams.cc +++ b/poppler/GlobalParams.cc @@ -68,6 +68,8 @@ #ifdef _WIN32 # define strcasecmp stricmp +#else +# include #endif #if MULTITHREADED diff --git a/test/perf-test.cc b/test/perf-test.cc index a11a377..6d6961e 100644 --- a/test/perf-test.cc +++ b/test/perf-test.cc @@ -22,6 +22,8 @@ #ifdef _WIN32 #include +#else +#include #endif // Define COPY_FILE if you want the file to be copied to a local disk first -- cgit v0.8.3-6-g21f6