From: Ondrej Zajicek Date: Fri, 16 Jan 2009 11:49:51 +0000 (+0100) Subject: Fixes compilation on older systems. X-Git-Tag: v1.2.0~150 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=11ec0f1a5171c556dec09e90c20af12f45a6d902;p=thirdparty%2Fbird.git Fixes compilation on older systems. Older kernel headers (the ones in Debian Sarge) does not have __kernel_sockaddr_storage . --- diff --git a/sysdep/linux/sysio.h b/sysdep/linux/sysio.h index b0aff71f1..6e5411091 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 */