mirror of
https://github.com/Kiritow/GSock.git
synced 2024-03-22 13:10:51 +08:00
Fix compile error in Linux
This commit is contained in:
parent
bae91fccce
commit
271fafd576
2
gsock.h
2
gsock.h
|
@ -243,7 +243,7 @@ public:
|
|||
// <0: Error.
|
||||
// Set timeout to -1 for infinity waiting.
|
||||
// Get data from events[i].events and events[i].data.fd
|
||||
int wait(epoll_event* events,int maxsize,int timeout);
|
||||
int wait(struct epoll_event* events,int maxsize,int timeout);
|
||||
|
||||
~epoll();
|
||||
private:
|
||||
|
|
|
@ -4,6 +4,7 @@
|
|||
*/
|
||||
|
||||
#include "gsock_helper.h"
|
||||
#include <cstring>
|
||||
|
||||
#ifdef _WIN32
|
||||
/// Using Win8.1
|
||||
|
|
Loading…
Reference in New Issue
Block a user