From 0b06cc023187d28bfba43673f4711eb55c7097b3 Mon Sep 17 00:00:00 2001 From: Mark Michelson <mmichelson@digium.com> Date: Fri, 23 May 2008 22:41:28 +0000 Subject: [PATCH] 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 --- include/asterisk/lock.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/include/asterisk/lock.h b/include/asterisk/lock.h index d78a83437d..7f8d00eb69 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 -- GitLab