aboutsummaryrefslogtreecommitdiff
path: root/sys/netinet/in.h
diff options
context:
space:
mode:
Diffstat (limited to 'sys/netinet/in.h')
-rw-r--r--sys/netinet/in.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/sys/netinet/in.h b/sys/netinet/in.h
index d424128fa59a..e946c4e3f487 100644
--- a/sys/netinet/in.h
+++ b/sys/netinet/in.h
@@ -256,6 +256,11 @@ 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_
+#endif
+
/*
* Internet address (a structure for historical reasons)
*/