From: Tilghman Lesher Date: Wed, 10 Nov 2010 23:26:39 +0000 (+0000) Subject: Fixing the Mac OS X build (bamboo warning) X-Git-Tag: 1.8.1-rc1~13 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=c6973b1187e858548e18fe9d45c5c0648b291006;p=thirdparty%2Fasterisk.git 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 --- 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) {