Added #define for SOL_TCP to fix compilation error on iOS

This commit is contained in:
Mike McDonald 2014-01-21 08:27:21 -05:00
parent 25f834043e
commit c0d26443ce

View File

@ -41,6 +41,9 @@
#include <net/if.h>
#ifdef __APPLE__
#ifndef SOL_TCP
#define SOL_TCP 6
#endif
#ifndef TCP_KEEPIDLE
#define TCP_KEEPIDLE TCP_KEEPALIVE
#endif