diff --git a/m4/acx_pthread.m4 b/m4/acx_pthread.m4 index 8961d446..5feab5ed 100644 --- a/m4/acx_pthread.m4 +++ b/m4/acx_pthread.m4 @@ -164,7 +164,7 @@ if test "x$acx_pthread_ok" = xyes; then if test "x$flag" != xno; then PTHREAD_CFLAGS="$flag $PTHREAD_CFLAGS" fi - AC_CHECK_TYPES(pthread_rwlock_t) + AC_CHECK_TYPES(pthread_rwlock_t,,,[#include ]) LIBS="$save_LIBS" CFLAGS="$save_CFLAGS"