nghttpx: Fix compile error if SOCK_NONBLOCK is undefined

This commit is contained in:
Tatsuhiro Tsujikawa 2015-02-08 00:49:56 +09:00
parent 795a22a320
commit 4dea318b5b
1 changed files with 1 additions and 1 deletions

View File

@ -202,7 +202,7 @@ std::unique_ptr<AcceptHandler> create_acceptor(ConnectionHandler *handler,
if (fd == -1) {
continue;
}
make_socket_nonblocking(fd);
util::make_socket_nonblocking(fd);
#endif // !SOCK_NONBLOCK
int val = 1;
if (setsockopt(fd, SOL_SOCKET, SO_REUSEADDR, &val,