Commit 11ec0f1a authored by Ondřej Zajíček's avatar Ondřej Zajíček
Browse files

Fixes compilation on older systems.

Older kernel headers (the ones in Debian Sarge) does not
have __kernel_sockaddr_storage .
parent e3c460bc
...@@ -152,7 +152,7 @@ static inline char *sysio_mcast_join(sock *s) ...@@ -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 */
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment