diff options
author | Jim Jagielski <jim@apache.org> | 2020-10-29 20:16:55 +0000 |
---|---|---|
committer | Jim Jagielski <jim@apache.org> | 2020-10-29 20:16:55 +0000 |
commit | 9d9c6990afaa7ad8eea0be524481bb48a5dd1b09 (patch) | |
tree | 9204fc3075dc3207c6ada0db49ef103c5787ae5b /build/apr_common.m4 | |
parent | 777acc63312de2b4d9eef6183c09957a5c4e9e06 (diff) | |
download | apr-9d9c6990afaa7ad8eea0be524481bb48a5dd1b09.tar.gz |
calls to exit() require stdlib.h or else we get -Werror,-Wimplicit-function-declaration
git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@1882979 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'build/apr_common.m4')
-rw-r--r-- | build/apr_common.m4 | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/build/apr_common.m4 b/build/apr_common.m4 index 9686e5d85..3dfe85542 100644 --- a/build/apr_common.m4 +++ b/build/apr_common.m4 @@ -495,6 +495,9 @@ AC_CACHE_CHECK([whether return code from strerror_r has type int], #include <errno.h> #include <string.h> #include <stdio.h> +#ifdef HAVE_STDLIB_H +#include <stdlib.h> +#endif main() { char buf[1024]; |