Added darwin silliness to net canary

This commit is contained in:
phr0z3nt04st
2010-06-23 18:14:11 -05:00
parent a3e5a32faf
commit 4a88db9c5a

View File

@@ -16,6 +16,13 @@ static WSADATA trapWSAData;
#include <errno.h>
#include <fcntl.h>
#if LL_DARWIN
#ifndef _SOCKLEN_T
#define _SOCKLEN_T
typedef int socklen_t;
#endif
#endif
extern int errno; //error number
#define SOCKADDR_IN struct sockaddr_in
#define SOCKADDR struct sockaddr