aboutsummaryrefslogtreecommitdiffstats
path: root/main/stdtime/localtime.c
diff options
context:
space:
mode:
Diffstat (limited to 'main/stdtime/localtime.c')
-rw-r--r--main/stdtime/localtime.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/main/stdtime/localtime.c b/main/stdtime/localtime.c
index 33417ffb1..8dc8b564a 100644
--- a/main/stdtime/localtime.c
+++ b/main/stdtime/localtime.c
@@ -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)