aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authormmichelson <mmichelson@f38db490-d61c-443f-a65b-d21fe96a405b>2008-05-23 22:41:28 +0000
committermmichelson <mmichelson@f38db490-d61c-443f-a65b-d21fe96a405b>2008-05-23 22:41:28 +0000
commit1a709659e70741c5eac1329e39263b4dac3f2299 (patch)
tree0c2e8442902b991d6c8e46e7318bf61bb4cdac9d /include
parentc0ca2a427bbbe205b9fd8d7a2c8b119cb56c6c80 (diff)
Make sure not to include non-existent headers if they indeed are non-existent
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@118175 f38db490-d61c-443f-a65b-d21fe96a405b
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