[Freeswitch-svn] [commit] r5145 - freeswitch/trunk/libs/iax/src

Freeswitch SVN anthm at freeswitch.org
Thu May 10 23:46:24 EDT 2007


Author: anthm
Date: Thu May 10 23:46:24 2007
New Revision: 5145

Modified:
   freeswitch/trunk/libs/iax/src/iax-mutex.c

Log:
fix compile

Modified: freeswitch/trunk/libs/iax/src/iax-mutex.c
==============================================================================
--- freeswitch/trunk/libs/iax/src/iax-mutex.c	(original)
+++ freeswitch/trunk/libs/iax/src/iax-mutex.c	Thu May 10 23:46:24 2007
@@ -29,7 +29,7 @@
 };
 
 #else
-
+#define _XOPEN_SOURCE 600
 #include <pthread.h>
 struct mutex {
 	pthread_mutex_t mutex;
@@ -64,7 +64,7 @@
 	goto success;
 
 fail:
-        pthread_mutexattr_destroy(&mattr);
+        pthread_mutexattr_destroy(&attr);
 		goto done;
 
 success:



More information about the Freeswitch-svn mailing list