summaryrefslogtreecommitdiff
path: root/lib/util/select.h
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2011-02-07 16:29:13 +0100
committerVolker Lendecke <vlendec@samba.org>2011-02-28 16:40:19 +0100
commitbe33e2e0a7b18c6d659d976afc507407904a69ed (patch)
tree65e3077197638d1fc17015aff22e6966bb8bf79c /lib/util/select.h
parent0fc1650e091727971b3e3017f9f06cae6cdf71bb (diff)
downloadsamba-be33e2e0a7b18c6d659d976afc507407904a69ed.tar.gz
samba-be33e2e0a7b18c6d659d976afc507407904a69ed.tar.bz2
samba-be33e2e0a7b18c6d659d976afc507407904a69ed.zip
s3: Add sys_poll
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