aboutsummaryrefslogtreecommitdiff
path: root/bits/sockaddr.h
diff options
context:
space:
mode:
Diffstat (limited to 'bits/sockaddr.h')
-rw-r--r--bits/sockaddr.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/bits/sockaddr.h b/bits/sockaddr.h
index e91f837..0af58c9 100644
--- a/bits/sockaddr.h
+++ b/bits/sockaddr.h
@@ -1,4 +1,4 @@
-/* Definition of `struct sockaddr_*' common members. Generic/4.2 BSD version.
+/* Definition of struct sockaddr_* common members and sizes, generic version.
Copyright (C) 1995-2016 Free Software Foundation, Inc.
This file is part of the GNU C Library.
@@ -36,4 +36,7 @@ typedef unsigned short int sa_family_t;
#define __SOCKADDR_COMMON_SIZE (sizeof (unsigned short int))
+/* Size of struct sockaddr_storage. */
+#define _SS_SIZE 128
+
#endif /* bits/sockaddr.h */