Skip to content

Commit

Permalink
nopoll:
Browse files Browse the repository at this point in the history
* [fix] Fixed FreeBSD compilation error
  • Loading branch information
francisbrosnan committed Aug 24, 2016
1 parent f823ec9 commit a81f6eb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/nopoll_conn.c
Original file line number Diff line number Diff line change
Expand Up @@ -212,7 +212,7 @@ nopoll_bool nopoll_conn_set_bind_interface (NOPOLL_SOCKET socket
#if defined(NOPOLL_OS_WIN32) || defined(NOPOLL_OS_WIN64)
/* Windows still not supported: send us a patch! */
return nopoll_false;
#elif defined(__APPLE__)
#elif defined(__APPLE__) || defined(__FreeBSD__)
/* Mac/OSX: that supports */
/* bind to the interface */
return setsockopt (socket, SOL_SOCKET, IP_RECVIF,
Expand Down

0 comments on commit a81f6eb

Please sign in to comment.