diff options
author | Russell Bryant <russell@russellbryant.com> | 2010-05-13 15:35:30 +0000 |
---|---|---|
committer | Russell Bryant <russell@russellbryant.com> | 2010-05-13 15:35:30 +0000 |
commit | 420acb8f0a36ee43dbce14f149e62019db86ca05 (patch) | |
tree | d0dc49cbe46102f33c3c72feab44df4f956d7360 /main | |
parent | 7c4a95f2eae91843603234764ec6df80c67512ba (diff) |
Fix build on linux.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@262896 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'main')
-rw-r--r-- | main/stdtime/localtime.c | 4 |
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) |