From c6973b1187e858548e18fe9d45c5c0648b291006 Mon Sep 17 00:00:00 2001 From: Tilghman Lesher Date: Wed, 10 Nov 2010 23:26:39 +0000 Subject: [PATCH] Fixing the Mac OS X build (bamboo warning) git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.8@294605 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) {