diff options
author | tilghman <tilghman@f38db490-d61c-443f-a65b-d21fe96a405b> | 2010-11-10 23:26:39 +0000 |
---|---|---|
committer | tilghman <tilghman@f38db490-d61c-443f-a65b-d21fe96a405b> | 2010-11-10 23:26:39 +0000 |
commit | bc94e7bc1edfefc4bba3743687d58f8d3e1e87d6 (patch) | |
tree | 30c0c901f4290003cd6fc53628f30ecab40f32ce /pbx/pbx_spool.c | |
parent | 659bcaf1549f748d6b4023a7ba8899052a946355 (diff) |
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
Diffstat (limited to 'pbx/pbx_spool.c')
-rw-r--r-- | pbx/pbx_spool.c | 3 |
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) { |