summaryrefslogtreecommitdiff
path: root/pbx/pbx_spool.c
diff options
context:
space:
mode:
authorTilghman Lesher <tilghman@meg.abyt.es>2010-11-10 23:27:33 +0000
committerTilghman Lesher <tilghman@meg.abyt.es>2010-11-10 23:27:33 +0000
commit2cfb2dbbadb757b55628182b80cf8134e66952d5 (patch)
treec70e1d65e987779c2e87b9e205ca90b8e0c95a3e /pbx/pbx_spool.c
parenta7e5429d70f00e76e48e44ea36289af45f27493f (diff)
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
Diffstat (limited to 'pbx/pbx_spool.c')
-rw-r--r--pbx/pbx_spool.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/pbx/pbx_spool.c b/pbx/pbx_spool.c
index 0665b477c..d285af54b 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)
{