aboutsummaryrefslogtreecommitdiff
path: root/socket
diff options
context:
space:
mode:
Diffstat (limited to 'socket')
-rw-r--r--socket/Makefile5
-rw-r--r--socket/sys/socket.h3
2 files changed, 6 insertions, 2 deletions
diff --git a/socket/Makefile b/socket/Makefile
index 1651b75..9a36da1 100644
--- a/socket/Makefile
+++ b/socket/Makefile
@@ -1,4 +1,4 @@
-# Copyright (C) 1991, 1995, 1996, 1997 Free Software Foundation, Inc.
+# Copyright (C) 1991, 1995, 1996, 1997, 1998 Free Software Foundation, Inc.
# This file is part of the GNU C Library.
# The GNU C Library is free software; you can redistribute it and/or
@@ -21,7 +21,8 @@
#
subdir := socket
-headers := sys/socket.h sys/un.h bits/sockaddr.h bits/socket.h
+headers := sys/socket.h sys/un.h bits/sockaddr.h bits/socket.h \
+ bits/sockunion.h
routines := accept bind connect getpeername getsockname getsockopt \
listen recv recvfrom recvmsg send sendmsg sendto \
diff --git a/socket/sys/socket.h b/socket/sys/socket.h
index 2358ab5..e94f56f 100644
--- a/socket/sys/socket.h
+++ b/socket/sys/socket.h
@@ -33,6 +33,9 @@ __BEGIN_DECLS
`struct msghdr', and `struct linger' types. */
#include <bits/socket.h>
+/* Get the definition of `sockaddr_union'. */
+#include <bits/sockunion.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. */