summaryrefslogtreecommitdiff
path: root/sys/netinet/in.h
diff options
context:
space:
mode:
authorMike Barcroft <mike@FreeBSD.org>2002-08-21 16:20:02 +0000
committerMike Barcroft <mike@FreeBSD.org>2002-08-21 16:20:02 +0000
commitabbd8902334e8c6409384593b4a2c81f939b47b4 (patch)
tree7e9e16e835d265de592c113ee6c5d85f9be039cb /sys/netinet/in.h
parent9884a53c1a3e4753e347c793df6af4bd0298eab2 (diff)
Notes
Diffstat (limited to 'sys/netinet/in.h')
-rw-r--r--sys/netinet/in.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/netinet/in.h b/sys/netinet/in.h
index 282415dbd7bb..e543a7516b13 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). */