summaryrefslogtreecommitdiff
path: root/socket/sys/socket.h
diff options
context:
space:
mode:
Diffstat (limited to 'socket/sys/socket.h')
-rw-r--r--socket/sys/socket.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/socket/sys/socket.h b/socket/sys/socket.h
index 172c897af7..9c3c3e73fe 100644
--- a/socket/sys/socket.h
+++ b/socket/sys/socket.h
@@ -33,6 +33,15 @@ __BEGIN_DECLS
`struct msghdr', and `struct linger' types. */
#include <socketbits.h>
+#ifdef __USE_BSD
+/* This is the 4.3 BSD `struct sockaddr' format, which is used as wire
+ format in the grotty old 4.3 `talk' protocol. */
+struct osockaddr
+ {
+ unsigned short int sa_family;
+ unsigned char sa_data[14];
+ };
+#endif
/* This is the type we use for generic socket address arguments.