Skip to content

Commit

Permalink
Fix -Wimplicit-function-declaration in configure
Browse files Browse the repository at this point in the history
  • Loading branch information
nikic committed Oct 5, 2020
1 parent 4908108 commit fc54ce3
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions config.m4
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,8 @@ if test "$PHP_APCU" != "no"; then
AC_RUN_IFELSE([AC_LANG_SOURCE([[
#include <sys/types.h>
#include <pthread.h>
main() {
#include <stdio.h>
int main() {
pthread_rwlock_t rwlock;
pthread_rwlockattr_t attr;
Expand Down Expand Up @@ -143,7 +144,8 @@ if test "$PHP_APCU" != "no"; then
AC_RUN_IFELSE([AC_LANG_SOURCE([[
#include <sys/types.h>
#include <pthread.h>
main() {
#include <stdio.h>
int main() {
pthread_mutex_t mutex;
pthread_mutexattr_t attr;
Expand Down

0 comments on commit fc54ce3

Please sign in to comment.