mirror of
https://github.com/clearml/dropbear
synced 2025-06-26 18:17:32 +00:00
Another stab at getting ss_family happy on older glibc
--HG-- extra : convert_revision : 7a1e9b08a576d794c28275e1bf54cb603372a4a6
This commit is contained in:
@@ -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__)
|
||||
|
||||
Reference in New Issue
Block a user