summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorMark Michelson <mmichelson@digium.com>2008-05-23 22:41:28 +0000
committerMark Michelson <mmichelson@digium.com>2008-05-23 22:41:28 +0000
commit0b06cc023187d28bfba43673f4711eb55c7097b3 (patch)
tree0c2e8442902b991d6c8e46e7318bf61bb4cdac9d /include
parent975a848b6783091108c861ee1015cb89fc85f7fe (diff)
Make sure not to include non-existent headers if they indeed are non-existent
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@118175 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'include')
-rw-r--r--include/asterisk/lock.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/asterisk/lock.h b/include/asterisk/lock.h
index d78a83437..7f8d00eb6 100644
--- a/include/asterisk/lock.h
+++ b/include/asterisk/lock.h
@@ -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