Fix build on linux.
authorRussell Bryant <russell@russellbryant.com>
Thu, 13 May 2010 15:33:49 +0000 (15:33 +0000)
committerRussell Bryant <russell@russellbryant.com>
Thu, 13 May 2010 15:33:49 +0000 (15:33 +0000)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@262895 65c4cc65-6c06-0410-ace0-fbb531ad65f3

pbx/pbx_spool.c

index bd1474b..6c7b449 100644 (file)
@@ -32,7 +32,7 @@ ASTERISK_FILE_VERSION(__FILE__, "$Revision$")
 #include <dirent.h>
 #ifdef HAVE_INOTIFY
 #include <sys/inotify.h>
-#elif HAVE_KQUEUE
+#elif defined(HAVE_KQUEUE)
 #include <sys/types.h>
 #include <sys/time.h>
 #include <sys/event.h>