mirror of
https://github.com/asterisk/asterisk.git
synced 2025-09-05 20:20:07 +00:00
Fix build on linux.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@262896 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
@@ -54,7 +54,7 @@ ASTERISK_FILE_VERSION(__FILE__, "$Revision$")
|
|||||||
#include <float.h>
|
#include <float.h>
|
||||||
#ifdef HAVE_INOTIFY
|
#ifdef HAVE_INOTIFY
|
||||||
#include <sys/inotify.h>
|
#include <sys/inotify.h>
|
||||||
#elif HAVE_KQUEUE
|
#elif defined(HAVE_KQUEUE)
|
||||||
#include <sys/types.h>
|
#include <sys/types.h>
|
||||||
#include <sys/time.h>
|
#include <sys/time.h>
|
||||||
#include <sys/event.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 int queue_fd = -1;
|
||||||
|
|
||||||
static void *kqueue_daemon(void *data)
|
static void *kqueue_daemon(void *data)
|
||||||
|
Reference in New Issue
Block a user