Another stab at getting ss_family happy on older glibc

--HG--
extra : convert_revision : 7a1e9b08a576d794c28275e1bf54cb603372a4a6
This commit is contained in:
Matt Johnston
2006-06-12 15:57:14 +00:00
parent d0537c7506
commit ac2b546a13
3 changed files with 10 additions and 9 deletions

View File

@@ -135,13 +135,6 @@ typedef u_int16_t uint16_t;
#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__)