PR: 5913, 9977
Submitted by: Jonathan W Miner <Jonathan.W.Miner@lmco.com>
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@98618
13f79535-47bb-0310-9956-
ffa450edef68
[Remove entries to the current 2.0 section below, when backported]
+ *) Fix suexec compile error under SUNOS4, where strerror() doesn't
+ exist. PR 5913, 9977.
+ [Jonathan W Miner <Jonathan.W.Miner@lmco.com>]
+
*) Fix mod_auth_digest not to use local paths for the domain parameter
on non-unix systems. PR 16937. [André Malo]
}
#endif
+#if defined(SUNOS4)
+extern char *sys_errlist[];
+#define strerror(x) sys_errlist[(x)]
+#endif
+
#if defined(PATH_MAX)
#define AP_MAXPATH PATH_MAX
#elif defined(MAXPATHLEN)