Merged revisions 294605 via svnmerge from
authorTilghman Lesher <tilghman@meg.abyt.es>
Wed, 10 Nov 2010 23:27:33 +0000 (23:27 +0000)
committerTilghman Lesher <tilghman@meg.abyt.es>
Wed, 10 Nov 2010 23:27:33 +0000 (23:27 +0000)
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

pbx/pbx_spool.c

index 0665b47..d285af5 100644 (file)
@@ -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)
 {