From bc94e7bc1edfefc4bba3743687d58f8d3e1e87d6 Mon Sep 17 00:00:00 2001 From: tilghman Date: Wed, 10 Nov 2010 23:26:39 +0000 Subject: Fixing the Mac OS X build (bamboo warning) git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.8@294605 f38db490-d61c-443f-a65b-d21fe96a405b --- pbx/pbx_spool.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'pbx') 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) { -- cgit v1.2.3