diff --git a/include/sys/socket.h b/include/sys/socket.h index cf3ed72..b572009 100644 --- a/include/sys/socket.h +++ b/include/sys/socket.h @@ -11,4 +11,12 @@ ((struct sockaddr*)(X))->sa_family == AF_INET6 ? sizeof(struct sockaddr_in6) : \ ((struct sockaddr*)(X))->sa_family == AF_UNSPEC ? sizeof(struct sockaddr) : \ sizeof(struct sockaddr)) + +/* + * Prevent Solaris 10 system header leakage + */ +#ifdef MODEMASK +#undef MODEMASK +#endif + #endif