]> git.ipfire.org Git - thirdparty/asterisk.git/commitdiff
Make sure not to include non-existent headers if they indeed are non-existent
authorMark Michelson <mmichelson@digium.com>
Fri, 23 May 2008 22:41:28 +0000 (22:41 +0000)
committerMark Michelson <mmichelson@digium.com>
Fri, 23 May 2008 22:41:28 +0000 (22:41 +0000)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@118175 65c4cc65-6c06-0410-ace0-fbb531ad65f3

include/asterisk/lock.h

index d78a83437dbf2a4c89d2085a408aaafeb352fed4..7f8d00eb69781b9c2efbf22c596b42ce5196bb03 100644 (file)
@@ -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