summaryrefslogtreecommitdiff
path: root/gl/sys_socket.in.h
diff options
context:
space:
mode:
authorSimon Josefsson <simon@josefsson.org>2010-12-06 16:20:45 +0100
committerSimon Josefsson <simon@josefsson.org>2010-12-06 16:20:45 +0100
commit705bd41bc85effe81660de90acf10f65bb23977c (patch)
tree9f41b7bbe9b1f9416f94a46cfd995eb0db5c8774 /gl/sys_socket.in.h
parent3ec531a07ddfaddacdef08af6d49abc0eb8d8edd (diff)
downloadgnutls-705bd41bc85effe81660de90acf10f65bb23977c.tar.gz
Update gnulib files.
Diffstat (limited to 'gl/sys_socket.in.h')
-rw-r--r--gl/sys_socket.in.h9
1 files changed, 8 insertions, 1 deletions
diff --git a/gl/sys_socket.in.h b/gl/sys_socket.in.h
index 8fded705cf..339cabb958 100644
--- a/gl/sys_socket.in.h
+++ b/gl/sys_socket.in.h
@@ -70,7 +70,14 @@
typedef unsigned short sa_family_t;
#endif
-#if !@HAVE_STRUCT_SOCKADDR_STORAGE@
+#if @HAVE_STRUCT_SOCKADDR_STORAGE@
+/* Make the 'struct sockaddr_storage' field 'ss_family' visible on AIX 7.1. */
+# if !@HAVE_STRUCT_SOCKADDR_STORAGE_SS_FAMILY@
+# ifndef ss_family
+# define ss_family __ss_family
+# endif
+# endif
+#else
# include <alignof.h>
/* Code taken from glibc sysdeps/unix/sysv/linux/bits/socket.h on
2009-05-08, licensed under LGPLv2.1+, plus portability fixes. */