From 2cfb2dbbadb757b55628182b80cf8134e66952d5 Mon Sep 17 00:00:00 2001
From: Tilghman Lesher <tilghman@meg.abyt.es>
Date: Wed, 10 Nov 2010 23:27:33 +0000
Subject: [PATCH] Merged revisions 294605 via svnmerge from
 https://origsvn.digium.com/svn/asterisk/branches/1.8

........
  r294605 | tilghman | 2010-11-10 17:26:39 -0600 (Wed, 10 Nov 2010) | 2 lines

  Fixing the Mac OS X build (bamboo warning)
........


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@294606 65c4cc65-6c06-0410-ace0-fbb531ad65f3
---
 pbx/pbx_spool.c | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/pbx/pbx_spool.c b/pbx/pbx_spool.c
index 0665b477cf..d285af54bb 100644
--- a/pbx/pbx_spool.c
+++ b/pbx/pbx_spool.c
@@ -456,8 +456,11 @@ struct direntry {
 };
 
 static AST_LIST_HEAD_STATIC(dirlist, direntry);
+
+#if defined(HAVE_INOTIFY)
 /* Only one thread is accessing this list, so no lock is necessary */
 static AST_LIST_HEAD_NOLOCK_STATIC(createlist, direntry);
+#endif
 
 static void queue_file(const char *filename, time_t when)
 {
-- 
GitLab