Fixes compilation on older systems.

Older kernel headers (the ones in Debian Sarge) does not
have __kernel_sockaddr_storage .
This commit is contained in:
Ondrej Zajicek 2009-01-16 12:49:51 +01:00
parent e3c460bc90
commit 11ec0f1a51

View file

@ -152,7 +152,7 @@ static inline char *sysio_mcast_join(sock *s)
#define TCP_MD5SIG_MAXKEYLEN 80 #define TCP_MD5SIG_MAXKEYLEN 80
struct tcp_md5sig { struct tcp_md5sig {
struct __kernel_sockaddr_storage tcpm_addr; /* address associated */ struct sockaddr_storage tcpm_addr; /* address associated */
__u16 __tcpm_pad1; /* zero */ __u16 __tcpm_pad1; /* zero */
__u16 tcpm_keylen; /* key length */ __u16 tcpm_keylen; /* key length */
__u32 __tcpm_pad2; /* zero */ __u32 __tcpm_pad2; /* zero */