From 72a6b6077644abbdad1a61acbbd07bd01ba1b9bd Mon Sep 17 00:00:00 2001 From: Peter Powell Date: Sun, 2 Mar 2014 21:23:08 +0000 Subject: Clean up a bunch of legacy code in the Poll socketengine. --- src/socketengines/socketengine_poll.cpp | 13 ++----------- 1 file changed, 2 insertions(+), 11 deletions(-) (limited to 'src') diff --git a/src/socketengines/socketengine_poll.cpp b/src/socketengines/socketengine_poll.cpp index ac5e02cfd..8fa0a13c5 100644 --- a/src/socketengines/socketengine_poll.cpp +++ b/src/socketengines/socketengine_poll.cpp @@ -29,17 +29,8 @@ #include "inspircd.h" #include "socketengine.h" -#ifndef _WIN32 -# ifndef __USE_XOPEN -# define __USE_XOPEN /* fuck every fucking OS ever made. needed by poll.h to work.*/ -# endif -# include -# include -# include -#else -# define struct pollfd WSAPOLLFD -# define poll WSAPoll -#endif +#include +#include /** A specialisation of the SocketEngine class, designed to use poll(). */ -- cgit v1.2.3