fix compile

git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@5145 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
Anthony Minessale 2007-05-11 03:46:24 +00:00
parent 353fb3dfbb
commit 9ef38dfce8
1 changed files with 2 additions and 2 deletions

View File

@ -29,7 +29,7 @@ struct mutex {
};
#else
#define _XOPEN_SOURCE 600
#include <pthread.h>
struct mutex {
pthread_mutex_t mutex;
@ -64,7 +64,7 @@ mutex_status_t iax_mutex_create(mutex_t **mutex)
goto success;
fail:
pthread_mutexattr_destroy(&mattr);
pthread_mutexattr_destroy(&attr);
goto done;
success: