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;