summaryrefslogtreecommitdiff
path: root/src/select.hpp
diff options
context:
space:
mode:
authorGabriele Svelto <gabriele.svelto@gmail.com>2012-05-08 19:11:29 +0200
committerMartin Sustrik <sustrik@250bpm.com>2012-05-13 18:12:24 +0200
commita03730632e73d7809b352eb43007036f11deb746 (patch)
tree9f30ea5b4d3cbda8181d8dcd9bf4ee10571d3c26 /src/select.hpp
parentef5ec121148eaf9d29fc1e8219f5804ba078191b (diff)
Move inclusion of select() and poll() headers to a single place
Signed-off-by: Gabriele Svelto <gabriele.svelto@gmail.com>
Diffstat (limited to 'src/select.hpp')
-rw-r--r--src/select.hpp20
1 files changed, 0 insertions, 20 deletions
diff --git a/src/select.hpp b/src/select.hpp
index 23ca4d7..e46bd03 100644
--- a/src/select.hpp
+++ b/src/select.hpp
@@ -31,26 +31,6 @@
#include <stddef.h>
#include <vector>
-#if defined XS_HAVE_WINDOWS
-# include "winsock2.h"
-#else
-# if HAVE_SYS_TYPES_H
-# include <sys/types.h>
-# endif
-# if HAVE_SYS_TIME_H
-# include <sys/time.h>
-# endif
-# if HAVE_TIME_H
-# include <time.h>
-# endif
-# if HAVE_UNISTD_H
-# include <unistd.h>
-# endif
-# if HAVE_SYS_SELECT_H
-# include <sys/select.h>
-# endif
-#endif
-
#include "fd.hpp"
#include "thread.hpp"
#include "io_thread.hpp"