summaryrefslogtreecommitdiff
path: root/user/bzflag/defineAddrLen.patch
blob: a25eb96c36ebc68b00337ef633745b165c7b1005 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
--- 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>