diff --git a/src/core/network.h b/src/core/network.h index 1213c8e9..c4e729c8 100644 --- a/src/core/network.h +++ b/src/core/network.h @@ -7,6 +7,14 @@ # include #endif +#ifndef AF_INET6 +# ifdef PF_INET6 +# define AF_INET6 PF_INET6 +# else +# define PF_INET6 10 +# endif +#endif + struct _IPADDR { unsigned short family; union {