summaryrefslogtreecommitdiff
path: root/sysdep
diff options
context:
space:
mode:
authorOndrej Zajicek <santiago@crfreenet.org>2009-01-16 12:49:51 +0100
committerOndrej Zajicek <santiago@crfreenet.org>2009-01-16 12:49:51 +0100
commit11ec0f1a5171c556dec09e90c20af12f45a6d902 (patch)
treea62a4fe0064d8745713013779b98e5befd050d1a /sysdep
parente3c460bc9034b30743dd861ddbdbc026cd2997b5 (diff)
Fixes compilation on older systems.
Older kernel headers (the ones in Debian Sarge) does not have __kernel_sockaddr_storage .
Diffstat (limited to 'sysdep')
-rw-r--r--sysdep/linux/sysio.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/sysdep/linux/sysio.h b/sysdep/linux/sysio.h
index b0aff71f..6e541109 100644
--- a/sysdep/linux/sysio.h
+++ b/sysdep/linux/sysio.h
@@ -152,7 +152,7 @@ static inline char *sysio_mcast_join(sock *s)
#define TCP_MD5SIG_MAXKEYLEN 80
struct tcp_md5sig {
- struct __kernel_sockaddr_storage tcpm_addr; /* address associated */
+ struct sockaddr_storage tcpm_addr; /* address associated */
__u16 __tcpm_pad1; /* zero */
__u16 tcpm_keylen; /* key length */
__u32 __tcpm_pad2; /* zero */