diff options
author | Nikos Mavrogiannopoulos <nmav@redhat.com> | 2016-12-02 15:59:17 +0100 |
---|---|---|
committer | Nikos Mavrogiannopoulos <nmav@gnutls.org> | 2016-12-04 19:17:50 +0100 |
commit | 8f0bf2fc4bfa06a8f44300f57bb40f143687cb5b (patch) | |
tree | 36fe4cda28b96549778e9a86623f9f7f7f382cd3 /gl/sys_socket.in.h | |
parent | f6baeef550af8a4ba4805eef342b0f7327ec0554 (diff) | |
download | gnutls-8f0bf2fc4bfa06a8f44300f57bb40f143687cb5b.tar.gz |
gl: removed iconv module
It is no longer used by the library.
Diffstat (limited to 'gl/sys_socket.in.h')
-rw-r--r-- | gl/sys_socket.in.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/gl/sys_socket.in.h b/gl/sys_socket.in.h index d99d831d48..aae931ac57 100644 --- a/gl/sys_socket.in.h +++ b/gl/sys_socket.in.h @@ -79,7 +79,12 @@ _GL_INLINE_HEADER_BEGIN #if !@HAVE_SA_FAMILY_T@ # if !GNULIB_defined_sa_family_t +/* On OS/2 kLIBC, sa_family_t is unsigned char unless TCPV40HDRS is defined. */ +# if !defined __KLIBC__ || defined TCPV40HDRS typedef unsigned short sa_family_t; +# else +typedef unsigned char sa_family_t; +# endif # define GNULIB_defined_sa_family_t 1 # endif #endif |