From ebb56a9eba0e12752213e8eb25d507651f231dcb Mon Sep 17 00:00:00 2001 From: Anthony Minessale Date: Fri, 11 May 2007 04:09:47 +0000 Subject: [PATCH] fix build of iax-mutex.c git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@5146 d0543943-73ff-0310-b7d9-9358b9ac24b2 --- libs/iax/src/iax-mutex.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/libs/iax/src/iax-mutex.c b/libs/iax/src/iax-mutex.c index e0437bc235..2cede703a4 100644 --- a/libs/iax/src/iax-mutex.c +++ b/libs/iax/src/iax-mutex.c @@ -17,7 +17,8 @@ * */ - +#define _XOPEN_SOURCE 600 +#include #include "iax-mutex.h" @@ -29,7 +30,7 @@ struct mutex { }; #else -#define _XOPEN_SOURCE 600 + #include struct mutex { pthread_mutex_t mutex;