[asterisk-commits] mmichelson: trunk r118175 - /trunk/include/asterisk/lock.h

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Fri May 23 17:41:28 CDT 2008


Author: mmichelson
Date: Fri May 23 17:41:28 2008
New Revision: 118175

URL: http://svn.digium.com/view/asterisk?view=rev&rev=118175
Log:
Make sure not to include non-existent headers if they indeed are non-existent


Modified:
    trunk/include/asterisk/lock.h

Modified: trunk/include/asterisk/lock.h
URL: http://svn.digium.com/view/asterisk/trunk/include/asterisk/lock.h?view=diff&rev=118175&r1=118174&r2=118175
==============================================================================
--- trunk/include/asterisk/lock.h (original)
+++ trunk/include/asterisk/lock.h Fri May 23 17:41:28 2008
@@ -50,9 +50,9 @@
 
 #include <pthread.h>
 #include <sys/param.h>
-
+#ifdef HAVE_BKTR
 #include <execinfo.h>
-
+#endif
 #include "asterisk/logger.h"
 
 /* internal macro to profile mutexes. Only computes the delay on




More information about the asterisk-commits mailing list