From fc54ce39f7b98d3753968ee825816e2c49407ab1 Mon Sep 17 00:00:00 2001 From: Nikita Popov Date: Mon, 5 Oct 2020 10:51:34 +0200 Subject: [PATCH] Fix -Wimplicit-function-declaration in configure --- config.m4 | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/config.m4 b/config.m4 index 483f9743..85704ce0 100644 --- a/config.m4 +++ b/config.m4 @@ -92,7 +92,8 @@ if test "$PHP_APCU" != "no"; then AC_RUN_IFELSE([AC_LANG_SOURCE([[ #include #include - main() { + #include + int main() { pthread_rwlock_t rwlock; pthread_rwlockattr_t attr; @@ -143,7 +144,8 @@ if test "$PHP_APCU" != "no"; then AC_RUN_IFELSE([AC_LANG_SOURCE([[ #include #include - main() { + #include + int main() { pthread_mutex_t mutex; pthread_mutexattr_t attr;