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

main/stdtime/localtime.c

index 33417ff..8dc8b56 100644 (file)
@@ -54,7 +54,7 @@ ASTERISK_FILE_VERSION(__FILE__, "$Revision$")
 #include <float.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>
@@ -335,7 +335,7 @@ static void add_notify(struct state *sp, const char *path)
                );
        }
 }
-#elif HAVE_KQUEUE
+#elif defined(HAVE_KQUEUE)
 static int queue_fd = -1;
 
 static void *kqueue_daemon(void *data)