Skip to content

Commit

Permalink
Build fix for CentOS 5
Browse files Browse the repository at this point in the history
fixes #11179
  • Loading branch information
gunnarbeutner committed Feb 22, 2016
1 parent 781c34f commit bc6d82c
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion lib/base/socketevents.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,8 @@ void SocketEvents::InitializeThread(void)
{
for (int i = 0; i < SOCKET_IOTHREADS; i++) {
#ifdef __linux__
l_SocketIOPollFDs[i] = epoll_create1(EPOLL_CLOEXEC);
l_SocketIOPollFDs[i] = epoll_create(128);
Utility::SetCloExec(l_SocketIOPollFDs[i]);
#endif /* __linux__ */

Socket::SocketPair(l_SocketIOEventFDs[i]);
Expand Down

0 comments on commit bc6d82c

Please sign in to comment.