From a03730632e73d7809b352eb43007036f11deb746 Mon Sep 17 00:00:00 2001 From: Gabriele Svelto Date: Tue, 8 May 2012 19:11:29 +0200 Subject: Move inclusion of select() and poll() headers to a single place Signed-off-by: Gabriele Svelto --- src/signaler.hpp | 38 -------------------------------------- 1 file changed, 38 deletions(-) (limited to 'src/signaler.hpp') 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 -# endif -# if HAVE_SYS_SELECT_H -# include -# endif -# if HAVE_POLL_H -# include -# elif HAVE_SYS_POLL_H -# include -# endif -#elif defined XS_USE_SYNC_SELECT -# if defined XS_HAVE_WINDOWS -# include "windows.hpp" -# else -# if HAVE_SYS_TYPES_H -# include -# endif -# if HAVE_SYS_TIME_H -# include -# endif -# if HAVE_TIME_H -# include -# endif -# if HAVE_UNISTD_H -# include -# endif -# if HAVE_SYS_SELECT_H -# include -# endif -# endif -#endif - namespace xs { -- cgit v1.2.3