Index: include/asterisk/linkedlists.h =================================================================== --- include/asterisk/linkedlists.h (revision 169573) +++ include/asterisk/linkedlists.h (working copy) @@ -283,7 +283,7 @@ This would define \c struct \c entry_list, intended to hold a list of type \c struct \c entry. */ -#ifndef AST_RWLOCK_INIT_VALUE +#ifndef HAVE_PTHREAD_RWLOCK_INITIALIZER #define AST_RWLIST_HEAD_STATIC(name, type) \ struct name { \ struct type *first; \