Mercurial > dropbear
diff includes.h @ 335:e17f0333c21e
Another stab at getting ss_family happy on older glibc
author | Matt Johnston <matt@ucc.asn.au> |
---|---|
date | Mon, 12 Jun 2006 15:57:14 +0000 |
parents | a3a68c25035e |
children | a124aff0cbf1 |
line wrap: on
line diff
--- a/includes.h Mon Jun 12 14:41:32 2006 +0000 +++ b/includes.h Mon Jun 12 15:57:14 2006 +0000 @@ -135,13 +135,6 @@ #define LOG_AUTHPRIV LOG_AUTH #endif -/* glibc 2.1.3 systems have sockaddr_storage.__ss_family rather than - * sockaddr_storage.ss_family */ -#if !defined(HAVE_STRUCT_SOCKADDR_STORAGE_SS_FAMILY) \ - && defined(HAVE_STRUCT_SOCKADDR_STORAGE___SS_FAMILY) -#define ss_family __ss_family -#endif - /* so we can avoid warnings about unused params (ie in signal handlers etc) */ #ifdef UNUSED #elif defined(__GNUC__)