about summary refs log tree commit homepage
path: root/cmogstored.h
diff options
context:
space:
mode:
Diffstat (limited to 'cmogstored.h')
-rw-r--r--cmogstored.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/cmogstored.h b/cmogstored.h
index 2fe0f05..2a31857 100644
--- a/cmogstored.h
+++ b/cmogstored.h
@@ -45,6 +45,7 @@
 #include <argp.h>
 #include <sched.h>
 #include <error.h> /* GNU */
+#include <poll.h>
 #include "bsd/queue_safe.h"
 #include "bsd/simpleq.h"
 
@@ -239,6 +240,7 @@ struct mog_file {
 
 #include "queue_epoll.h"
 #include "notify.h"
+#include "selfwake.h"
 
 enum mog_fd_type {
         MOG_FD_TYPE_UNUSED = 0,
@@ -385,6 +387,7 @@ void mog_idleq_push(struct mog_queue *, struct mog_fd *, enum mog_qev);
 struct mog_fd * mog_idleq_wait(struct mog_queue *, int timeout);
 struct mog_fd *
 mog_queue_xchg(struct mog_queue *, struct mog_fd *, enum mog_qev);
+struct mog_fd * mog_idleq_wait_intr(struct mog_queue *q, int timeout);
 
 /* addrinfo.c */
 struct mog_addrinfo {