aboutsummaryrefslogtreecommitdiffstats
path: root/extras/mini-os/include/posix/sys/select.h
diff options
context:
space:
mode:
authorMatthew Fioravante <matthew.fioravante@jhuapl.edu>2012-10-09 10:39:09 +0100
committerMatthew Fioravante <matthew.fioravante@jhuapl.edu>2012-10-09 10:39:09 +0100
commit5c2852a2a5b1a138b79672dae6e2264f26d6b1d9 (patch)
tree6cc4b762b782c38712db3c0834720c3060e005e7 /extras/mini-os/include/posix/sys/select.h
parent78ef2bb502c15bd7ef117a365e6afc7dee4ad71b (diff)
downloadxen-5c2852a2a5b1a138b79672dae6e2264f26d6b1d9.tar.gz
xen-5c2852a2a5b1a138b79672dae6e2264f26d6b1d9.tar.bz2
xen-5c2852a2a5b1a138b79672dae6e2264f26d6b1d9.zip
minios: add select definition to sys/time.h when HAVE_LIBC is defined
This patch adds the select function to sys/time.h when HAVE_LIBC is defined, which is according to standard (see the select() manpage). It also removes a redudant lwip include from posix/sys/select.h. Signed-off-by: Matthew Fioravante <matthew.fioravante@jhuapl.edu> Acked-by: Samuel Thibault <samuel.thibault@ens-lyon.org> Committed-by: Ian Campbell <ian.campbell@citrix.com>
Diffstat (limited to 'extras/mini-os/include/posix/sys/select.h')
-rw-r--r--extras/mini-os/include/posix/sys/select.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/extras/mini-os/include/posix/sys/select.h b/extras/mini-os/include/posix/sys/select.h
index a9337be4fc..5132c51224 100644
--- a/extras/mini-os/include/posix/sys/select.h
+++ b/extras/mini-os/include/posix/sys/select.h
@@ -2,7 +2,6 @@
#define _POSIX_SELECT_H
#include <sys/time.h>
-#include <lwip/sockets.h>
int select(int nfds, fd_set *readfds, fd_set *writefds, fd_set *exceptfds, struct timeval *timeout);
#endif /* _POSIX_SELECT_H */