diff options
Diffstat (limited to 'src/ivysocket.c')
-rw-r--r-- | src/ivysocket.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/ivysocket.c b/src/ivysocket.c index 3d996de..409a66f 100644 --- a/src/ivysocket.c +++ b/src/ivysocket.c @@ -30,6 +30,9 @@ #include <unistd.h> #include <sys/time.h> #include <sys/types.h> +#ifdef __APPLE__ +#define _BSD_SOCKLEN_T_ int +#endif #include <sys/socket.h> #include <netinet/in.h> #include <arpa/inet.h> |