]> git.netwichtig.de Git - user/henk/code/inspircd.git/blobdiff - include/socketengines/socketengine_ports.h
Forward-port poll socket engine as it seems reasonably stable, and half-hack it into...
[user/henk/code/inspircd.git] / include / socketengines / socketengine_ports.h
index d055912e530393abc5a611c70144969a1e29f087..0b0655fb0f98e92a94bd1cac554a430b2d23f267 100644 (file)
@@ -22,7 +22,6 @@
 #include <string>
 #include <map>
 #include "inspircd_config.h"
-#include "globals.h"
 #include "inspircd.h"
 #include "socketengine.h"
 #include <port.h>
@@ -36,7 +35,7 @@ class PortsEngine : public SocketEngine
 private:
        /** These are used by epoll() to hold socket events
         */
-       port_event_t events[MAX_DESCRIPTORS];
+       port_event_t* events;
 public:
        /** Create a new PortsEngine
         * @param Instance The creator of this object