summaryrefslogtreecommitdiff
path: root/gl/sys_socket.in.h
diff options
context:
space:
mode:
authorSimon Josefsson <simon@josefsson.org>2009-05-20 08:56:33 +0200
committerSimon Josefsson <simon@josefsson.org>2009-05-20 08:56:33 +0200
commit120f0ebe9700eebf614bb9c42967fac95f6ee4ca (patch)
tree9e905bf9c689b0028e476eb0c23e0857fc9576a0 /gl/sys_socket.in.h
parent5507d4d53a7c68e6f961656102de076940fe3ce1 (diff)
downloadgnutls-120f0ebe9700eebf614bb9c42967fac95f6ee4ca.tar.gz
Update gnulib files.
Diffstat (limited to 'gl/sys_socket.in.h')
-rw-r--r--gl/sys_socket.in.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/gl/sys_socket.in.h b/gl/sys_socket.in.h
index dadd56ac58..26577dfaa0 100644
--- a/gl/sys_socket.in.h
+++ b/gl/sys_socket.in.h
@@ -43,6 +43,10 @@
#ifndef _GL_SYS_SOCKET_H
#define _GL_SYS_SOCKET_H
+#if !@HAVE_SA_FAMILY_T@
+typedef unsigned short sa_family_t;
+#endif
+
#if !@HAVE_STRUCT_SOCKADDR_STORAGE@
# include <alignof.h>
/* Code taken from glibc sysdeps/unix/sysv/linux/bits/socket.h on