--- bzflag-2.4.16/include/network.h.old 2018-09-27 19:16:48.015111918 -0700 +++ bzflag-2.4.16/include/network.h 2018-09-27 19:17:06.195370763 -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>