diff options
-rw-r--r-- | CHANGES | 3 | ||||
-rw-r--r-- | build/apr_common.m4 | 2 |
2 files changed, 4 insertions, 1 deletions
@@ -6,6 +6,9 @@ Changes for APR 1.7.1 (This issue was addressed as CVE-2017-12613 in APR 1.6.3 and later 1.6.x releases, but was missing in 1.7.0.) [Stefan Sperling] + *) configure: Fix configure for compilers which don't accept implicit + "int". PR 66396. [Florian Weimer <fweimer redhat.com>] + *) apr_atomic_read64(): Fix non-atomic read on 32-bit Windows [Ivan Zhakov] *) configure: Prefer posix name-based shared memory over SysV IPC. diff --git a/build/apr_common.m4 b/build/apr_common.m4 index 0c1d2f23f..ac2312c63 100644 --- a/build/apr_common.m4 +++ b/build/apr_common.m4 @@ -499,7 +499,7 @@ AC_CACHE_CHECK([whether return code from strerror_r has type int], #include <string.h> #include <stdio.h> #include <stdlib.h> -main() +int main(void) { char buf[1024]; if (strerror_r(ERANGE, buf, sizeof buf) < 1) { |