--- a/include/network.h 2018-04-23 23:17:50.969874036 -0700 +++ b/include/network.h 2018-04-23 23:18:37.750554121 -0700 @@ -57,7 +57,7 @@ # include <bstring.h> #endif -#if defined(BSD) || defined(__sun__) || defined(__GLIBC__) +#if defined(BSD) || defined(__sun__) || defined(__linux__) # define AddrLen socklen_t #elif defined (__APPLE__) # include <AvailabilityMacros.h>