diff options
Diffstat (limited to 'sys/netinet/in.h')
-rw-r--r-- | sys/netinet/in.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/netinet/in.h b/sys/netinet/in.h index 282415d..e543a75 100644 --- a/sys/netinet/in.h +++ b/sys/netinet/in.h @@ -75,9 +75,9 @@ typedef uint16_t in_port_t; #define _IN_PORT_T_DECLARED #endif -#ifdef _BSD_SA_FAMILY_T_ -typedef _BSD_SA_FAMILY_T_ sa_family_t; -#undef _BSD_SA_FAMILY_T_ +#ifndef _SA_FAMILY_T_DECLARED +typedef __sa_family_t sa_family_t; +#define _SA_FAMILY_T_DECLARED #endif /* Internet address (a structure for historical reasons). */ |