summaryrefslogtreecommitdiff
path: root/lib/util/select.h
diff options
context:
space:
mode:
Diffstat (limited to 'lib/util/select.h')
-rw-r--r--lib/util/select.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/util/select.h b/lib/util/select.h
index 13c85ce0bf..795c8fa454 100644
--- a/lib/util/select.h
+++ b/lib/util/select.h
@@ -20,10 +20,13 @@
#ifndef _select_h_
#define _select_h_
+#include "system/select.h"
+
/* The following definitions come from lib/util/select.c */
void sys_select_signal(char c);
int sys_select(int maxfd, fd_set *readfds, fd_set *writefds, fd_set *errorfds, struct timeval *tval);
int sys_select_intr(int maxfd, fd_set *readfds, fd_set *writefds, fd_set *errorfds, struct timeval *tval);
+int sys_poll(struct pollfd *fds, int num_fds, int timeout);
#endif