summaryrefslogtreecommitdiff
path: root/src/signaler.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/signaler.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/signaler.hpp')
-rw-r--r--src/signaler.hpp38
1 files changed, 0 insertions, 38 deletions
diff --git a/src/signaler.hpp b/src/signaler.hpp
index b94858f..ccb825b 100644
--- a/src/signaler.hpp
+++ b/src/signaler.hpp
@@ -24,44 +24,6 @@
#include "fd.hpp"
#include "polling.hpp"
-// On AIX, poll.h has to be included before xs.h to get consistent
-// definition of pollfd structure (AIX uses 'reqevents' and 'retnevents'
-// instead of 'events' and 'revents' and defines macros to map from POSIX-y
-// names to AIX-specific names).
-#if defined XS_USE_SYNC_POLL
-# if HAVE_SYS_TYPES
-# include <sys/types.h>
-# endif
-# if HAVE_SYS_SELECT_H
-# include <sys/select.h>
-# endif
-# if HAVE_POLL_H
-# include <poll.h>
-# elif HAVE_SYS_POLL_H
-# include <sys/poll.h>
-# endif
-#elif defined XS_USE_SYNC_SELECT
-# if defined XS_HAVE_WINDOWS
-# include "windows.hpp"
-# 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
-#endif
-
namespace xs
{