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