summaryrefslogtreecommitdiff
path: root/build/apr_common.m4
diff options
context:
space:
mode:
authorjorton <jorton@13f79535-47bb-0310-9956-ffa450edef68>2003-01-15 14:00:55 +0000
committerjorton <jorton@13f79535-47bb-0310-9956-ffa450edef68>2003-01-15 14:00:55 +0000
commit8485f7a358c0df8c0932a293c7ca37f95bf50228 (patch)
treee218dee8033dfbec5731a95e70e7b7fa12c96798 /build/apr_common.m4
parent26beeba7d9030657b44ce6dc0bdb985b298ed9ab (diff)
downloadlibapr-8485f7a358c0df8c0932a293c7ca37f95bf50228.tar.gz
Fix misdetection of strerror_r return type with glibc 2.3 (which meant
corrupt error messages). git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@64298 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'build/apr_common.m4')
-rw-r--r--build/apr_common.m41
1 files changed, 1 insertions, 0 deletions
diff --git a/build/apr_common.m4 b/build/apr_common.m4
index 3d7b56e67..afbebe481 100644
--- a/build/apr_common.m4
+++ b/build/apr_common.m4
@@ -454,6 +454,7 @@ AC_DEFUN(APR_CHECK_STRERROR_R_RC,[
AC_MSG_CHECKING(for type of return code from strerror_r)
AC_TRY_RUN([
#include <errno.h>
+#include <string.h>
#include <stdio.h>
main()
{