summaryrefslogtreecommitdiff
path: root/Build/source/libs/xpdf/TLpatches/patch-30-include-strings_h
blob: f9b694650b1c2587b1b07155bdd3bf88eb31395e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
	The Posix manpage says strcasecmp() is declared in <strings.h>
	and this indeed required for AIX 4.3 and xlc.

diff -ur -N xpdf-3.04.orig/xpdf/GlobalParams.cc xpdf-3.04/xpdf/GlobalParams.cc
--- xpdf-3.04.orig/xpdf/GlobalParams.cc	2014-05-30 19:29:23.000000000 +0200
+++ xpdf-3.04/xpdf/GlobalParams.cc	2014-05-30 19:47:44.000000000 +0200
@@ -54,6 +54,8 @@
 #ifdef _WIN32
 #  define strcasecmp stricmp
 #  define strncasecmp strnicmp
+#else
+#  include <strings.h>
 #endif
 
 #if MULTITHREADED